Sets the pen style of an existing element.
Visual Basic |
---|
Public Sub ElementSetPenStyle( _ ByVal elementHandle As Long, _ ByVal penStyle As NX_PenStyleType _ ) |
- elementHandle
- The handle of an element returned by the ElementCreate method.
- penStyle
Value Description NX_PenStyle_Dash Dash pen style. NX_PenStyle_DashDot Dash dot pen style. NX_PenStyle_DashDotDot Dash dot dot pen style. NX_PenStyle_Dot Dotted pen style. NX_PenStyle_Solid Solid pen style.
Note: The PenStyle can be any of the NX_PenStyleType options when the pen is one pixel. The pen style can only be NX_LinePenStyle_Solid when the width is more than one pixel.