PdfRgbColor Constructor (PdfColorProfile, Int32, Int32, Int32)

Docotic.Pdf library help > BitMiracle.Docotic.Pdf > PdfRgbColor Class > PdfRgbColor Constructor > PdfRgbColor Constructor (PdfColorProfile, Int32, Int32, Int32)
Initializes a new instance of the PdfRgbColor class.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public PdfRgbColor(
	PdfColorProfile colorProfile,
	int red,
	int green,
	int blue
)
VB
Public Sub New ( 
	colorProfile As PdfColorProfile,
	red As Integer,
	green As Integer,
	blue As Integer
)

Parameters

colorProfile
Type: BitMiracle.Docotic.Pdf.PdfColorProfile
The ICC color profile for RGB color space.
red
Type: System.Int32
The red component value.
green
Type: System.Int32
The green component value.
blue
Type: System.Int32
The blue component value.

Remarks

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

See Also