GetNamedColor Method (IApplication)

GetNamedColor Method (IApplication) | Send Feedback
See Also Example

NewColor[out]
  LineColor

ColorName
  Named LineColor as defined in dsNamedColor_e

Gets the named LineColor.

# Syntax

Visual Basic |
--- | ---
    Function GetNamedColor( _
       ByVal ColorName As dsNamedColor_e _
    ) As Color

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

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

COM native C++ |
--- | ---
    HRESULT GetNamedColor(
       dsNamedColor_e ColorName,
       IColor** NewColor
    )

C++ |
--- | ---
    DSRESULT GetNamedColor(
       dsNamedColor_e ColorName,
       dsColor** NewColor
    )

#### Parameters

ColorName
  Named LineColor as defined in dsNamedColor_e
NewColor[out] or Return Value
  LineColor

# Example

Create and Change EntityGroups (C#)
Create and Change EntityGroups (VB.NET)
Create and Change EntityGroups (VBA)
Create and Change EntityGroups (JavaScript)

# See Also

####

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

# Availability

DraftSight V1R1.1