Docotic.Pdf Library Help > BitMiracle.Docotic.Pdf > PdfCmykColor Class > PdfCmykColor Constructor > PdfCmykColor Constructor (Int32, Int32, Int32, Int32)
Initializes a new instance of the PdfCmykColor class.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public PdfCmykColor(
	int cyan,
	int magenta,
	int yellow,
	int key
)
VB
Public Sub New ( 
	cyan As Integer,
	magenta As Integer,
	yellow As Integer,
	key As Integer
)

Parameters

cyan
Type: System.Int32
The cyan component value in percent.
magenta
Type: System.Int32
The magenta component value in percent.
yellow
Type: System.Int32
The yellow component value in percent.
key
Type: System.Int32
The key component value in percent.

Remarks

Each component value must be a number between 0 (zero concentration) and 100 (maximum concentration).

See Also