Gets the hatch color for a specific element for the specific layer.
Visual Basic |
---|
Public Function PrgGetItemHatchColor( _ ByVal layerHandle As Long, _ ByVal seqNum As Long _ ) As OLE_COLOR |
- layerHandle
- The handle of a layer returned by the CreateLayer method.
- seqNum
- The handle of an element returned by the ElementAppend method.
The RGB (Red Green Blue) color value of the element's hatch color.
The HatchColor is the color of the hatch strokes on a filled element whose NX_HatchStyleType attribute is something other than NX_HatchStyle_None.