Have you tried iLine.LineWidth = X where X is the width that you want?
i just tried and it doesn't work , as xDxdesigner says, the object doesn't have the property or method called iLine.LineWidth.
If anybody has got a solution , i would be glad to test it.
1 of 1 people found this helpful
Sorry I missed the DxDesigner part and was thinking Expedition. I know patrick.cashman has written something similar to what you are asking and hopefully he will chime in. However, I think we had to set the line width in Settings ->Display->Other Objects. We then locked that parameter down in our Corporate DxDesigner.xml file so it couldn't be changed by the user
<key name="COLOR" value="0x00ffff"/>
<key name="FILL_STYLE" value="0"/>
<key name="LINE_STYLE" value="0"/>
<key name="SELECTABLE" value="1"/>
<key name="VISIBLE" value="1"/>
<key name="LINE_THICKNESS" value="2" readonly="1"/>
Jeff is correct. There is no property of the line you can use to change the width. As far as I know it's only controlled by Setup>Settings, or the xml file.
Thanks Patrick and Jeff ,both of you for your help. I am going to try to find a hack to change it.
Let us know if you find something that works