Creates a new
PdfColor structure in
DeviceCMYK color space by using the specified
cyan,
magenta,
yellow and
black values.
Namespace: SautinSoft.Pdf.ContentAssembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2026.5.5
Syntaxpublic static PdfColor FromCmyk(
double cyan,
double magenta,
double yellow,
double black
)
Public Shared Function FromCmyk (
cyan As Double,
magenta As Double,
yellow As Double,
black As Double
) As PdfColor
Parameters
- cyan Double
- The cyan value in range from 0 to 1.
- magenta Double
- The magenta value in range from 0 to 1.
- yellow Double
- The yellow value in range from 0 to 1.
- black Double
- The black value in range from 0 to 1.
Return Value
PdfColor
A new
PdfColor structure in
DeviceCMYK color space created by using the specified
cyan,
magenta,
yellow and
black values.
Exceptions
See Also