GetLineColor Method (IRichLineStyle) Send Feedback
See Also 
LineColor[out]
Color
VertexIndex
Index of the line element whose color to get (see Remarks)
Gets the color of the specified line element of the RichLineStyle.

Syntax

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

Parameters

VertexIndex
Index of the line element whose color to get (see Remarks)
LineColor[out] or Return Value
Color

Remarks

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

See Also

Availability

DraftSight V1R1.3