Table of Contents

Class PdfColor

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

Represents a PDF color. This class is a base class for PdfCmykColor, PdfGrayColor, PdfIndexedColor, PdfLabColor, PdfRgbColor and PdfSpotColor.

public abstract class PdfColor
Inheritance
PdfColor
Derived
Inherited Members

Remarks

A PDF color value consists of one or more color components and, optionally, associated ICC color profile.

Properties

ColorProfile

Gets the ICC color profile associated with this PdfColor.

Methods

Darken(int)

Darkens the current PdfColor by the specified percentage.

Equals(object)

Determines whether the specified object is equal to this PdfColor instance.

GetHashCode()

Returns a hash code for this PdfColor instance.

Lighten(int)

Lightens the current PdfColor by the specified percentage.

ToCmyk()

Converts this PdfColor to CMYK.

ToRgb()

Converts this PdfColor to RGB.