PdfCmykColor Constructor (PdfColorProfile, Int32, Int32, Int32, Int32)

Docotic.Pdf library help > BitMiracle.Docotic.Pdf > PdfCmykColor Class > PdfCmykColor Constructor > PdfCmykColor Constructor (PdfColorProfile, 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(
	PdfColorProfile colorProfile,
	int cyan,
	int magenta,
	int yellow,
	int key
)
VB
Public Sub New ( 
	colorProfile As PdfColorProfile,
	cyan As Integer,
	magenta As Integer,
	yellow As Integer,
	key As Integer
)

Parameters

colorProfile
Type: BitMiracle.Docotic.Pdf.PdfColorProfile
The ICC color profile for CMYK color space.
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