GdPicture.NET Reference Guide
ColorCMYKtoRGB Method (GdPictureImaging)





GdPicture14 Namespace > GdPictureImaging Class : ColorCMYKtoRGB 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.
The input value for the Black (Key) 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.
Converts the required CMYK color, which is composed of a set of specified Cyan, Magenta, Yellow and Black (Key) color components to the RGB color composed of a set of resulting red, green, and blue components.
Syntax
'Declaration
 
Public Sub ColorCMYKtoRGB( _
   ByVal Cyan As Integer, _
   ByVal Magenta As Integer, _
   ByVal Yellow As Integer, _
   ByVal Black As Integer, _
   ByRef Red As Integer, _
   ByRef Green As Integer, _
   ByRef Blue As Integer _
) 
public void ColorCMYKtoRGB( 
   int Cyan,
   int Magenta,
   int Yellow,
   int Black,
   ref int Red,
   ref int Green,
   ref int Blue
)
public procedure ColorCMYKtoRGB( 
    Cyan: Integer;
    Magenta: Integer;
    Yellow: Integer;
    Black: Integer;
   var  Red: Integer;
   var  Green: Integer;
   var  Blue: Integer
); 
public function ColorCMYKtoRGB( 
   Cyan : int,
   Magenta : int,
   Yellow : int,
   Black : int,
   Red : int,
   Green : int,
   Blue : int
);
public: void ColorCMYKtoRGB( 
   int Cyan,
   int Magenta,
   int Yellow,
   int Black,
   ref int Red,
   ref int Green,
   ref int Blue
) 
public:
void ColorCMYKtoRGB( 
   int Cyan,
   int Magenta,
   int Yellow,
   int Black,
   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.
Black
The input value for the Black (Key) 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

Reference

GdPictureImaging Class
GdPictureImaging Members
ColorCMYtoRGB Method
ColorRGBtoCMYK Method
ColorRGBtoCMY Method