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  As Integer, _
   ByVal  As Integer, _
   ByVal  As Integer, _
   ByRef  As Integer, _
   ByRef  As Integer, _
   ByRef  As Integer, _
   ByRef  As Integer _
) 
             
        
            
            public void ColorRGBtoCMYK( 
   int ,
   int ,
   int ,
   ref int ,
   ref int ,
   ref int ,
   ref int 
)
             
        
            
            public procedure ColorRGBtoCMYK( 
    : Integer;
    : Integer;
    : Integer;
   var  : Integer;
   var  : Integer;
   var  : Integer;
   var  : Integer
); 
             
        
            
            public function ColorRGBtoCMYK( 
    : int,
    : int,
    : int,
    : int,
    : int,
    : int,
    : int
);
             
        
            
            public: void ColorRGBtoCMYK( 
   int ,
   int ,
   int ,
   ref int ,
   ref int ,
   ref int ,
   ref int 
) 
             
        
            
            public:
void ColorRGBtoCMYK( 
   int ,
   int ,
   int ,
   int% ,
   int% ,
   int% ,
   int% 
) 
             
        
             
        
            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