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