Docotic.Pdf Library Help > BitMiracle.Docotic.Pdf > PdfLabColor Class > PdfLabColor Constructor > PdfLabColor Constructor (PdfColorProfile, Double, Double, Double)
Initializes a new instance of the PdfLabColor class.

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

Syntax

C#
public PdfLabColor(
	PdfColorProfile colorProfile,
	double l,
	double a,
	double b
)
VB
Public Sub New ( 
	colorProfile As PdfColorProfile,
	l As Double,
	a As Double,
	b As Double
)

Parameters

colorProfile
Type: BitMiracle.Docotic.Pdf.PdfColorProfile
The ICC color profile for L*a*b* color space.
l
Type: System.Double
The L* component value.
a
Type: System.Double
The a* component value.
b
Type: System.Double
The b* component value.

Remarks

L* component value must be a number between 0 and 100. Values for a* and b* components must be within the range defined by the L*a*b* color space of the color profile specified by the colorProfile parameter.

The underlying color space of the color profile specified by the colorProfile parameter must be either a PdfLabColorSpace or a color space for which the alternate color space is a PdfLabColorSpace.

See Also