Solid Edge Framework Type Library
SetColor Method
Specifies the display index (sequence number in which the linear element was created) for the linear element.
Specifies the color to apply to the referenced linear element.
Description
Specifies a new color for a specified linear element used in a HatchPatternStyle object.
Syntax
Visual Basic
Public Sub SetColor( _
   ByVal nDisplayIndex As Long, _
   ByVal nColor As Long _
) 
Parameters
nDisplayIndex
Specifies the display index (sequence number in which the linear element was created) for the linear element.
nColor
Specifies the color to apply to the referenced linear element.
Remarks
The color is stored in a long integer, created with the RGB function (red, green, and blue color intensities), or as an integer between 0 and 15 representing standard colors.
See Also

HatchPatternStyle Object  | HatchPatternStyle Members