PdfColor Class

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

Inheritance Hierarchy

System.Object
  BitMiracle.Docotic.Pdf.PdfColor
    

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

Syntax

C#
public abstract class PdfColor
VB
Public MustInherit Class PdfColor

The PdfColor type exposes the following members.

Properties

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

Methods

  NameDescription
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 (Inherited from Object.)
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides Object.GetHashCode().)
Public methodGetType (Inherited from Object.)
Public methodLighten
Lightens the current PdfColor by the specified percentage.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToCmyk
Converts this PdfColor to CMYK.
Public methodToRgb
Converts this PdfColor to RGB.
Public methodToString (Inherited from Object.)

Remarks

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

See Also

Inheritance Hierarchy