Sets the pen style for a specific element for the specific layer.
Visual Basic |
---|
Public Sub PrgSetItemPenStyle( _ ByVal layerHandle As Long, _ ByVal seqNum As Long, _ ByVal penStyle As NX_PenStyleType _ ) |
- layerHandle
- The handle of a layer returned by the CreateLayer method.
- seqNum
- The handle of an element returned by the ElementAppend 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 anything when the pen is one pixel. The PenStyle can only be NX_PenStyle_Solid when the width is more than one pixel.