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





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

Parameters

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