ColorCMYKtoRGB Method (GdPictureImaging)
In This Topic
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 As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByRef As Integer, _
ByRef As Integer, _
ByRef As Integer _
)
public void ColorCMYKtoRGB(
int ,
int ,
int ,
int ,
ref int ,
ref int ,
ref int
)
public procedure ColorCMYKtoRGB(
: Integer;
: Integer;
: Integer;
: Integer;
var : Integer;
var : Integer;
var : Integer
);
public function ColorCMYKtoRGB(
: int,
: int,
: int,
: int,
: int,
: int,
: int
);
public: void ColorCMYKtoRGB(
int ,
int ,
int ,
int ,
ref int ,
ref int ,
ref int
)
public:
void ColorCMYKtoRGB(
int ,
int ,
int ,
int ,
int% ,
int% ,
int%
)
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