SetColorByIndex Method (IColor)

SetColorByIndex Method (IColor) | Send Feedback
See Also

Index
  Index within the Standard Colors for this LineColor or TextColor

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

# Syntax

Visual Basic |
--- | ---
    Sub SetColorByIndex( _
       ByVal Index As System.Integer _
    )

C# |
--- | ---
    void SetColorByIndex(
       System.int Index
    )

JavaScript |
--- | ---
    SetColorByIndex(
       Index : Number
    )

COM native C++ |
--- | ---
    HRESULT SetColorByIndex(
       LONG Index
    )

C++ |
--- | ---
    DSRESULT SetColorByIndex(
       long Index
    )

#### Parameters

Index
  Index within the Standard Colors for this LineColor or TextColor

# See Also

####

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

# Availability

DraftSight V1R1.1