How to change type of Line2d object

 

Dear all,

I have added Line2d object in the drawing view. Now I need to change its type to dash-dot or dashed type.

How to achieve it? I tried style property but didnt understand. Geometrystyle2d object do not have such method to change linetype.

Please help. Jguillo, Your help is appreciated.

Thanks in advance

 

Posted by: madhav dhamale
Post date: 6/24/2009 1:20:12 AM

1 REPLY

RE: How to change type of Line2d object

madhav,

 

It's very simple.

objLine2d.Style.LinearName="DASH" 'Or the style name you want. This is the same name that you see in SE in the styles combo.

Regards,

Julian

 

Posted by: Julian Guillo
Post date: 6/24/2009 2:09:13 AM