Table of Contents

Constructor PdfLabColor

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

PdfLabColor(PdfColorSpace, double, double, double)

Initializes a new instance of the PdfLabColor class.

public PdfLabColor(PdfColorSpace colorSpace, double l, double a, double b)

Parameters

colorSpace PdfColorSpace

The Lab* color space for the color.

l double

The L* component value.

a double

The a* component value.

b 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.

PdfLabColor(PdfColorProfile, double, double, double)

Initializes a new instance of the PdfLabColor class.

public PdfLabColor(PdfColorProfile colorProfile, double l, double a, double b)

Parameters

colorProfile PdfColorProfile

The ICC color profile for Lab* color space.

l double

The L* component value.

a double

The a* component value.

b 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.