Skip to content

PdfGrayColorSpace Class

Definition

Namespace: Xfinium.Pdf.Graphics

Defines a device gray colorspace.

C#
public class PdfGrayColorSpace : PdfColorSpace

Inheritance: Object → PdfColorSpace → PdfGrayColorSpace

Constructor

Name Description
PdfGrayColorSpace() Initializes a new PdfGrayColorSpace object.

Properties

Name Description
ColorComponentCount Gets the number of components used by a color in this colorspace.
CosObject Gets the raw colorspace object.
(inherited from PdfColorSpace)
Instance Gets the singleton instance of PdfGrayColorSpace.
Type Gets the colorspace type.
(inherited from PdfColorSpace)

Methods

Name Description
Equals Determines whether the specified Object is equal to the current Object.
GetHashCode Gets the object has code.