Skip to main content
All docs
V26.1
  • PdfColor.FromCmyk(Double, Double, Double, Double) Method

    Creates a color from CMYK component values.

    Namespace: DevExpress.Docs.Pdf

    Assembly: DevExpress.Docs.Pdf.v26.1.dll

    Declaration

    public static PdfColor FromCmyk(
        double c,
        double m,
        double y,
        double k
    )

    Parameters

    Name Type Description
    c Double

    The cyan component value (0.0 to 1.0).

    m Double

    The magenta component value (0.0 to 1.0).

    y Double

    The yellow component value (0.0 to 1.0).

    k Double

    The black (key) component value (0.0 to 1.0).

    Returns

    Type Description
    PdfColor

    A new PdfColor object.

    See Also