GetRGBColor Method (IApplication)

GetRGBColor Method (IApplication) | Send Feedback
See Also

NewColor[out]
  LineColor

Red
  RGB color model value for red

Green
  RGB color model value for green

Blue
  RGB color model value for blue

Gets the LineColor for the specified RGB (Red, Green, Blue) color model values.

# Syntax

Visual Basic |
--- | ---
    Function GetRGBColor( _
       ByVal Red As System.Integer, _
       ByVal Green As System.Integer, _
       ByVal Blue As System.Integer _
    ) As Color

C# |
--- | ---
    Color GetRGBColor(
       System.int Red,
       System.int Green,
       System.int Blue
    )

JavaScript |
--- | ---
    GetRGBColor(
       Red : Number,
       Green : Number,
       Blue : Number
    ) : dsColor

COM native C++ |
--- | ---
    HRESULT GetRGBColor(
       LONG Red,
       LONG Green,
       LONG Blue,
       IColor** NewColor
    )

C++ |
--- | ---
    DSRESULT GetRGBColor(
       long Red,
       long Green,
       long Blue,
       dsColor** NewColor
    )

#### Parameters

Red
  RGB color model value for red
Green
  RGB color model value for green
Blue
  RGB color model value for blue
NewColor[out] or Return Value
  LineColor

# See Also

####

IApplication Interface
IApplication Members
IApplication::GetColorByIndex Method
IApplication::GetNamedColor Method
IColor::GetRGB Method
IColor::SetRGBColor Method

# Availability

DraftSight V1R1.1