PdfColor Class

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

Inheritance Hierarchy


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


public abstract class PdfColor
Public MustInherit Class PdfColor

The PdfColor type exposes the following members.


Public propertyColorProfile
Gets the ICC color profile associated with this PdfColor.


Public methodDarken
Darkens the current PdfColor by the specified percentage.
Public methodEquals
Determines whether the specified Object is equal to this instance.
(Overrides Object.Equals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides Object.GetHashCode().)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLighten
Lightens the current PdfColor by the specified percentage.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToCmyk
Converts this PdfColor to CMYK.
Public methodToRgb
Converts this PdfColor to RGB.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)


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

See Also

Inheritance Hierarchy