Create an XColor given a set of CMYK component values.

 

   

Syntax
 

[C#]
static XColor FromCmyk(int cyan, int magenta, int yellow, int black)

[Visual Basic]
Shared Function FromCmyk(cyan As Integer, magenta As Integer, yellow As Integer, black As Integer) As XColor

 

   

Params
 
Name Description
cyan The amount of cyan (0 to 100)
magenta The amount of magenta (0 to 100)
yellow The amount of yellow (0 to 100)
black The amount of black (0 to 100)
return The resulting XColor.

 

   

Notes
 

Create an XColor given a set of CMYK component values ranging between zero and 100.

 

   

Example
 

None.