PdfColorFromCmyk Method

Creates a color from cyan, magenta, yellow, and black components

Definition

Namespace: HiQPdf.Next
Assembly: HiQPdf.Next (in HiQPdf.Next.dll) Version: 18.9.2
C#
public static PdfColor FromCmyk(
	int cyan,
	int magenta,
	int yellow,
	int black
)

Parameters

cyan  Int32
The cyan component value in the range 0 to 255
magenta  Int32
The magenta component value in the range 0 to 255
yellow  Int32
The yellow component value in the range 0 to 255
black  Int32
The black component value in the range 0 to 255

Return Value

PdfColor
A color instance

See Also