Skip to main content
All docs
V26.1
  • PdfColor.FromRgb(Int32, Int32, Int32) Method

    Creates a color from RGB component values.

    Namespace: DevExpress.Docs.Pdf

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

    Declaration

    public static PdfColor FromRgb(
        int r,
        int g,
        int b
    )

    Parameters

    Name Type Description
    r Int32

    The red component value (0 to 255).

    g Int32

    The green component value (0 to 255).

    b Int32

    The blue component value (0 to 255).

    Returns

    Type Description
    PdfColor

    A new PdfColor object.

    See Also