Docotic.Pdf Library Help > BitMiracle.Docotic.Pdf > PdfRgbColor Class > PdfRgbColor Constructor > PdfRgbColor Constructor (PdfColorProfile, Color)
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,
	Color color
)
VB
Public Sub New ( 
	colorProfile As PdfColorProfile,
	color As Color
)

Parameters

colorProfile
Type: BitMiracle.Docotic.Pdf.PdfColorProfile
The ICC color profile for RGB color space.
color
Type: System.Drawing.Color
The Color structure to create PdfRgbColor from.

See Also