how to judge the type of a dvLine

Creator
Creator

hi, how to determine the type of a dvLine is solid or dash line?

any help is highly appreciated.

 

billy

2 REPLIES

Re: how to judge the type of a dvLine

Solution Partner Legend Solution Partner Legend
Solution Partner Legend

Hi,

 

check the DVLine2d.GetSegmentedStyle() method, which returns by reference a LinearStyle object for the given segment index of the DVline2d object.

 

Kind regards,
Wolfgang Kunert - www.wksyspro.de

Re: how to judge the type of a dvLine

Creator
Creator

yes, thank you. use the value of property DashGapCount of LinearStyle, zero for solid line and non-zero for dash line.