GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / ColorRGBtoCMY 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.





In This Topic
ColorRGBtoCMY 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 CMY color composed of a set of resulting Cyan, Magenta and Yellow components.
Syntax
'Declaration
 
Public Sub ColorRGBtoCMY( _
   ByVal Red As Integer, _
   ByVal Green As Integer, _
   ByVal Blue As Integer, _
   ByRef Cyan As Integer, _
   ByRef Magenta As Integer, _
   ByRef Yellow As Integer _
) 
public void ColorRGBtoCMY( 
   int Red,
   int Green,
   int Blue,
   ref int Cyan,
   ref int Magenta,
   ref int Yellow
)
public procedure ColorRGBtoCMY( 
    Red: Integer;
    Green: Integer;
    Blue: Integer;
   var  Cyan: Integer;
   var  Magenta: Integer;
   var  Yellow: Integer
); 
public function ColorRGBtoCMY( 
   Red : int,
   Green : int,
   Blue : int,
   Cyan : int,
   Magenta : int,
   Yellow : int
);
public: void ColorRGBtoCMY( 
   int Red,
   int Green,
   int Blue,
   ref int Cyan,
   ref int Magenta,
   ref int Yellow
) 
public:
void ColorRGBtoCMY( 
   int Red,
   int Green,
   int Blue,
   int% Cyan,
   int% Magenta,
   int% Yellow
) 

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.
See Also