SetRGBColor Method (IColor) Send Feedback
See Also  Example
Red
RGB color model value for red
Green
RGB color model value for green
Blue
RGB color model value for blue
Sets the color to the specified RGB (Red, Green, Blue) color model values.

Syntax

Visual Basic 
Sub SetRGBColor( _
   ByVal Red As System.Integer, _
   ByVal Green As System.Integer, _
   ByVal Blue As System.Integer _
) 
C# 
void SetRGBColor( 
   System.int Red,
   System.int Green,
   System.int Blue
)
JavaScript 
SetRGBColor( 
   Red : Number,
   Green : Number,
   Blue : Number
)
COM native C++ 
HRESULT SetRGBColor( 
   LONG Red,
   LONG Green,
   LONG Blue
) 
C++ 
DSRESULT SetRGBColor( 
   long Red,
   long Green,
   long Blue
) 

Parameters

Red
RGB color model value for red
Green
RGB color model value for green
Blue
RGB color model value for blue

Example

 

See Also

Availability

DraftSight V1R1.1