Skip to main content

PdfRGBColor(Double, Double, Double) Constructor

Initializes a new instance of the PdfRGBColor class with the specified red, green, and blue color components.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v23.2.Core.dll

NuGet Package: DevExpress.Pdf.Core

Declaration

public PdfRGBColor(
    double r,
    double g,
    double b
)

Parameters

Name Type Description
r Double

A Double value. This value is assigned to the PdfRGBColor.R property. This value must be between 0 and 1.

g Double

A Double value. This value is assigned to the PdfRGBColor.G property. This value must be between 0 and 1.

b Double

A Double value. This value is assigned to the PdfRGBColor.B property. This value must be between 0 and 1.

See Also