PdfLabColor Constructor (PdfColorSpace, Double, Double, Double)

Docotic.Pdf library help > BitMiracle.Docotic.Pdf > PdfLabColor Class > PdfLabColor Constructor > PdfLabColor Constructor (PdfColorSpace, 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(
	PdfColorSpace colorSpace,
	double l,
	double a,
	double b
)
VB
Public Sub New ( 
	colorSpace As PdfColorSpace,
	l As Double,
	a As Double,
	b As Double
)

Parameters

colorSpace
Type: BitMiracle.Docotic.Pdf.PdfColorSpace
The L*a*b* color space for the color.
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 specified by the colorSpace parameter.

The color space specified by the colorSpace parameter must be either a PdfLabColorSpace or a color space for which the alternate color space is a PdfLabColorSpace.

See Also