GetRGB Method (IColor)

GetRGB Method (IColor) | Send Feedback
See Also

Red[out]
  RGB color model value for red

Green[out]
  RGB color model value for green

Blue[out]
  RGB color model value for blue

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

# Syntax

Visual Basic |
--- | ---
    Sub GetRGB( _
       ByRef Red As System.Integer, _
       ByRef Green As System.Integer, _
       ByRef Blue As System.Integer _
    )

C# |
--- | ---
    void GetRGB(
       out System.int Red,
       out System.int Green,
       out System.int Blue
    )

JavaScript |
--- | ---
    GetRGB(
    ) : {
       Red : Number,
       Green : Number,
       Blue : Number
    }

COM native C++ |
--- | ---
    HRESULT GetRGB(
       LONG* Red,
       LONG* Green,
       LONG* Blue
    )

C++ |
--- | ---
    DSRESULT GetRGB(
       long* Red,
       long* Green,
       long* Blue
    )

#### Parameters

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

# See Also

####

IColor Interface
IColor Members
IColor::SetRGBColor Method
IApplication::GetRGBColor Method

# Availability

DraftSight V1R1.1