GetNamedColor Method (IColor)

GetNamedColor Method (IColor) | Send Feedback
See Also Example

Result[out]
  Named LineColor or TextColor as defined in dsNamedColor_e

Gets the named LineColor or TextColor of this color.

# Syntax

Visual Basic |
--- | ---
    Function GetNamedColor() As dsNamedColor_e

C# |
--- | ---
    dsNamedColor_e GetNamedColor()

JavaScript |
--- | ---
    GetNamedColor() : String

COM native C++ |
--- | ---
    HRESULT GetNamedColor(
       dsNamedColor_e* Result
    )

C++ |
--- | ---
    DSRESULT GetNamedColor(
       dsNamedColor_e* Result
    )

#### Parameters

Result[out] or Return Value
  Named LineColor or TextColor as defined in dsNamedColor_e

# Example

Construct Line (C#)
Construct Line (VB.NET)
Construct Line (VBA)
Insert Hatch (C#)
Insert Hatch (VB.NET)
Insert Hatch (VBA)

# See Also

####

IColor Interface
IColor Members
IColor::IsNamedColor Method
IColor::SetNamedColor Method
IApplication::GetColorByIndex Method

# Availability

DraftSight V1R1.1