Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PdfRGBColor(Double, Double, Double) Constructor

In This Article

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

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v24.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