GetColorByIndex Method (IApplication) Send Feedback
See Also 
NewColor[out]
LineColor
Index
Index within the Standard Colors for LineColor
Gets the LineColor using the specified index within the Standard Colors.

Syntax

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

Parameters

Index
Index within the Standard Colors for LineColor
NewColor[out] or Return Value
LineColor
 

See Also

Availability

DraftSight V1R1.1