Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

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.v20.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