SetNamedColor Method (IColor)

SetNamedColor Method (IColor) | Send Feedback
See Also Example

NamedColor
  Named LineColor or TextColor as defined in dsNamedColor_e

Sets the color to the named LineColor or TextColor.

# Syntax

Visual Basic |
--- | ---
    Sub SetNamedColor( _
       ByVal NamedColor As dsNamedColor_e _
    )

C# |
--- | ---
    void SetNamedColor(
       dsNamedColor_e NamedColor
    )

JavaScript |
--- | ---
    SetNamedColor(
       NamedColor : String
    )

COM native C++ |
--- | ---
    HRESULT SetNamedColor(
       dsNamedColor_e NamedColor
    )

C++ |
--- | ---
    DSRESULT SetNamedColor(
       dsNamedColor_e NamedColor
    )

#### Parameters

NamedColor
  Named LineColor or TextColor as defined in dsNamedColor_e

# Example

Construct Line (C#)
Construct Line (VB.NET)
Construct Line (VBA)
Create and Apply DimensionStyle (C#)
Create and Apply DimensionStyle (VB.NET)
Create and Apply DimensionStyle (VBA)
Create Circles on Different Layers (JavaScript)
Insert Splines (JavaScript)
Insert Splines (C#)
Insert Splines (VB.NET)
Insert Splines (VBA)

# See Also

####

IColor Interface
IColor Members
IColor::GetNamedColor Method
IColor::IsNamedColor Method
IApplication::GetNamedColor Method

# Availability

DraftSight V1R1.1