Infopath 2010 Commandbar问题 [英] Infopath 2010 Commandbar issue
问题描述
我正试图在Infopath中设置默认的Pen Weight。当前默认值的墨水条目具有非常薄的圆珠笔效果。 我们需要更厚的重量,因为墨水入口稍后会被扫描。 我一直在尝试使用命令栏后面的c#代码更改设置
I am trying to set teh default Pen Weight in Infopath. The current default has the ink entry with a very thin ballpoint effect. We need a much thicker weight since the ink entry is getting scanned later. I have been attempting to change the setting with my c# code behind using Commandbar
我去过无法找到任何文档或参考资料来获取正确的代码来获取控件ID或笔重的名称,所以我可以 更改笔设置 - 通过猜测几乎
i能够在命令栏中执行一些操作 - 例如下面的代码打开墨水橡皮擦 - 我只是不知道笔的ID /名称类型或重量
CommandBars myCommand =(CommandBars)this.Application.ActiveWindow.CommandBars;
myCommand [" Ink"]。Controls [4] .Execute(); //这会打开墨水橡皮擦
推荐答案
你好rcant55,
Hi rcant55,
我会就这个问题咨询我的同事,这需要一些时间。非常感谢您的耐心。
I will consult my colleagues on this question, and it will take some time. Your patience will be greatly appreciated.
问候,
Jeffrey
这篇关于Infopath 2010 Commandbar问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!