GetColorIndex Method (IColor)

GetColorIndex Method (IColor) | Send Feedback
See Also

Index[out]
  Index within the Standard Colors for this LineColor or TextColor

Gets the index within the Standard Colors for this LineColor or TextColor.

# Syntax

Visual Basic |
--- | ---
    Function GetColorIndex() As System.Integer

C# |
--- | ---
    System.int GetColorIndex()

JavaScript |
--- | ---
    GetColorIndex() : Number

COM native C++ |
--- | ---
    HRESULT GetColorIndex(
       LONG* Index
    )

C++ |
--- | ---
    DSRESULT GetColorIndex(
       long* Index
    )

#### Parameters

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

# See Also

####

IColor Interface
IColor Members
IColor::IsColorByIndex Method
IColor::SetColorByIndex Method
IApplication::GetColorByIndex Method

# Availability

DraftSight V1R1.1