Table of Contents

Constructor PdfRgbColor

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

PdfRgbColor(int, int, int)

Initializes a new instance of the PdfRgbColor class.

public PdfRgbColor(int red, int green, int blue)

Parameters

red int

The red component value.

green int

The green component value.

blue int

The blue component value.

Remarks

Each component value must be a number between 0 (minimum intensity) and 255 (maximum intensity).

PdfRgbColor(int)

Initializes a new instance of the PdfRgbColor class.

public PdfRgbColor(int argb)

Parameters

argb int

A value specifying the 32-bit ARGB value.

PdfRgbColor(PdfColorProfile, int)

Initializes a new instance of the PdfRgbColor class.

public PdfRgbColor(PdfColorProfile colorProfile, int argb)

Parameters

colorProfile PdfColorProfile

The ICC color profile for RGB color space.

argb int

A value specifying the 32-bit ARGB value.

PdfRgbColor(PdfColorProfile, int, int, int)

Initializes a new instance of the PdfRgbColor class.

public PdfRgbColor(PdfColorProfile colorProfile, int red, int green, int blue)

Parameters

colorProfile PdfColorProfile

The ICC color profile for RGB color space.

red int

The red component value.

green int

The green component value.

blue int

The blue component value.

Remarks

Each component value must be a number between 0 (minimum intensity) and 255 (maximum intensity).