SetLineColor Method (IRichLineStyle) Send Feedback
See Also 
VertexIndex
Index of the line element whose color to set (see Remarks)
LineColor
Color
Sets the color of the specified RichLineStyle.

Syntax

Visual Basic 
Sub SetLineColor( _
   ByVal VertexIndex As System.Integer, _
   ByVal LineColor As Color _
) 
C# 
void SetLineColor( 
   System.int VertexIndex,
   Color LineColor
)
JavaScript 
SetLineColor( 
   VertexIndex : Number,
   LineColor : dsColor
)
COM native C++ 
HRESULT SetLineColor( 
   LONG VertexIndex,
   IColor* LineColor
) 
C++ 
DSRESULT SetLineColor( 
   long VertexIndex,
   dsColor* LineColor
) 

Parameters

VertexIndex
Index of the line element whose color to set (see Remarks)
LineColor
Color

Remarks

Call IRichLineStyle::GetLinesCount to determine a valid value for VertexIndex.
 

See Also

Availability

DraftSight V1R1.3