PdfGrayColor Constructor (PdfColorProfile, Int32)

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

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

Syntax

C#
public PdfGrayColor(
	PdfColorProfile colorProfile,
	int gray
)
VB
Public Sub New ( 
	colorProfile As PdfColorProfile,
	gray As Integer
)

Parameters

colorProfile
Type: BitMiracle.Docotic.Pdf.PdfColorProfile
The ICC color profile for Gray color space.
gray
Type: System.Int32
The gray level of color in percent.

Remarks

The gray is a number between 0 (black) and 100 (white).

See Also