PdfLabColorSpace Constructor (PdfDocument, Double[], Double[])

Docotic.Pdf library help > BitMiracle.Docotic.Pdf > PdfLabColorSpace Class > PdfLabColorSpace Constructor > PdfLabColorSpace Constructor (PdfDocument, Double[], Double[])
Initializes a new instance of the PdfLabColorSpace class.

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

Syntax

C#
public PdfLabColorSpace(
	PdfDocument document,
	double[] whitePoint,
	double[] blackPoint
)
VB
Public Sub New ( 
	document As PdfDocument,
	whitePoint As Double(),
	blackPoint As Double()
)

Parameters

document
Type: BitMiracle.Docotic.Pdf.PdfDocument
The document to which this color space belongs.
whitePoint
Type: System.Double[]
An array of three numbers [Xw Yw Zw] specifying the tristimulus value, in the CIE 1931 XYZ space, of the diffuse white point.
blackPoint
Type: System.Double[]
An array of three numbers [Xb Yb Zb] specifying the tristimulus value, in the CIE 1931 XYZ space, of the diffuse black point. Can be null.

Remarks

The numbers Xw and Zw must be positive, and Yw must be equal to 1.0.

All three numbers in the blackPoint array must be non-negative. If blackPoint array is null then the black point array is assumed to be [0.0 0.0 0.0].

See Also