PdfGrayColor Class

Represents a color in a Gray color space.

Inheritance Hierarchy

System.Object
  BitMiracle.Docotic.Pdf.PdfColor
    BitMiracle.Docotic.Pdf.PdfGrayColor

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

Syntax

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

The PdfGrayColor type exposes the following members.

Constructors

  NameDescription
Public methodPdfGrayColor(Int32)
Initializes a new instance of the PdfGrayColor class.
Public methodPdfGrayColor(PdfColorProfile, Int32)
Initializes a new instance of the PdfGrayColor class.

Properties

  NameDescription
Public propertyColorProfile
Gets the ICC color profile associated with this PdfColor.
(Inherited from PdfColor.)
Public propertyG
Gets the gray level of color 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 methodToCmyk
Converts this PdfColor to CMYK.
(Inherited from PdfColor.)
Public methodToRgb
Converts this PdfColor to RGB.
(Inherited from PdfColor.)
Public methodToString
Returns a String that represents this instance.
(Overrides Object.ToString().)

See Also