Set CMYK and Alpha values for a color.
Syntax

[C#]

void SetCMYK(double inCyan, double inMagenta, double inYellow, double inBlack);
void SetCMYK(double inCyan, double inMagenta, double inYellow, double inBlack, double inAlpha);

[Visual Basic]

Sub SetCMYK(inCyan As Double, inMagenta As Double, inYellow As Double, inBlack As Double)
Sub SetCMYK(inCyan As Double, inMagenta As Double, inYellow As Double, inBlack As Double, inAlpha As Double)
Params
Name Description
inCyan A number from 0 to 255 corresponding to the cyan intensity.
inMagenta A number from 0 to 255 corresponding to the magenta intensity.
inYellow A number from 0 to 255 corresponding to the yellow intensity.
inBlack A number from 0 to 255 corresponding to the black intensity.
inAlpha A number from 0 to 255 corresponding to the level of opacity.
Notes

Allows you to set a CMYK color using only one call. An optional alpha value also allows you to set the opacity.

Example

None.