GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / ColorCMYtoRGB Method
The input value for the Cyan component. Use the value between 0 and 255.
The input value for the Magenta component. Use the value between 0 and 255.
The input value for the Yellow component. Use the value between 0 and 255.
Output parameter. The resulting value for the red component between 0 and 255.
Output parameter. The resulting value for the green component between 0 and 255.
Output parameter. The resulting value for the blue component between 0 and 255.





In This Topic
ColorCMYtoRGB Method (GdPictureImaging)
In This Topic
Converts the required CMY color, which is composed of a set of specified Cyan, Magenta and Yellow color components to the RGB color composed of a set of resulting red, green, and blue components.
Syntax
'Declaration
 
Public Sub ColorCMYtoRGB( _
   ByVal Cyan As Integer, _
   ByVal Magenta As Integer, _
   ByVal Yellow As Integer, _
   ByRef Red As Integer, _
   ByRef Green As Integer, _
   ByRef Blue As Integer _
) 
public void ColorCMYtoRGB( 
   int Cyan,
   int Magenta,
   int Yellow,
   ref int Red,
   ref int Green,
   ref int Blue
)
public procedure ColorCMYtoRGB( 
    Cyan: Integer;
    Magenta: Integer;
    Yellow: Integer;
   var  Red: Integer;
   var  Green: Integer;
   var  Blue: Integer
); 
public function ColorCMYtoRGB( 
   Cyan : int,
   Magenta : int,
   Yellow : int,
   Red : int,
   Green : int,
   Blue : int
);
public: void ColorCMYtoRGB( 
   int Cyan,
   int Magenta,
   int Yellow,
   ref int Red,
   ref int Green,
   ref int Blue
) 
public:
void ColorCMYtoRGB( 
   int Cyan,
   int Magenta,
   int Yellow,
   int% Red,
   int% Green,
   int% Blue
) 

Parameters

Cyan
The input value for the Cyan component. Use the value between 0 and 255.
Magenta
The input value for the Magenta component. Use the value between 0 and 255.
Yellow
The input value for the Yellow component. Use the value between 0 and 255.
Red
Output parameter. The resulting value for the red component between 0 and 255.
Green
Output parameter. The resulting value for the green component between 0 and 255.
Blue
Output parameter. The resulting value for the blue component between 0 and 255.
See Also