Represents a color in a CMYK color space.

Inheritance Hierarchy

System.Object
  BitMiracle.Docotic.Pdf.PdfColor
    BitMiracle.Docotic.Pdf.PdfCmykColor

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

Syntax

C#
public sealed class PdfCmykColor : PdfColor
VB
Public NotInheritable Class PdfCmykColor
	Inherits PdfColor

The PdfCmykColor type exposes the following members.

Constructors

  NameDescription
Public methodPdfCmykColor(Int32, Int32, Int32, Int32)
Initializes a new instance of the PdfCmykColor class.
Public methodPdfCmykColor(PdfColorProfile, Int32, Int32, Int32, Int32)
Initializes a new instance of the PdfCmykColor class.

Properties

  NameDescription
Public propertyC
Gets the cyan component value in percent.
Public propertyColorProfile
Gets the ICC color profile associated with this PdfColor.
(Inherited from PdfColor.)
Public propertyK
Gets the key component value in percent.
Public propertyM
Gets the magenta component value in percent.
Public propertyY
Gets the yellow component value in percent.

Methods

  NameDescription
Public methodDarken
Darkens the current PdfColor by the specified percentage.
(Inherited from PdfColor.)
Public methodEquals
Determines whether the specified Object is equal to this instance.
(Inherited from PdfColor.)
Public methodGetHashCode
Returns a hash code for this instance.
(Inherited from PdfColor.)
Public methodGetType (Inherited from Object.)
Public methodLighten
Lightens the current PdfColor by the specified percentage.
(Inherited from PdfColor.)
Public methodToColor
Converts this PdfCmykColor to the equivalent Color structure.
(Overrides PdfColor.ToColor().)
Public methodToString
Returns a String that represents this instance.
(Overrides Object.ToString().)

See Also