Click or drag to resize

PdfColorFactoryFromCmyk Method (Double, Double, Double, Double)

Create a Cymk color for use in Pdf.

Namespace:  Atalasoft.PdfDoc.Generating
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public static IPdfCmykColor FromCmyk(
	double c,
	double y,
	double m,
	double k
)

Parameters

c
Type: SystemDouble
The cyan color. Value between 0.0 and 1.0
y
Type: SystemDouble
The yellow color. Value between 0.0 and 1.0
m
Type: SystemDouble
The magenta color. Value between 0.0 and 1.0
k
Type: SystemDouble
The black color. Value between 0.0 and 1.0

Return Value

Type: IPdfCmykColor
a new IPdfColor representing the desired color
See Also