.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

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.v21.1.Core.dll

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