Skip to content

PdfIndexedColor Class

Definition

Namespace: Xfinium.Pdf.Graphics

Defines a color based on an indexed colorspace.

C#
public class PdfIndexedColor : PdfColor

Inheritance: Object → PdfColor → PdfIndexedColor

Constructor

Name Description
PdfIndexedColor(PdfIndexedColorSpace) Initializes a new PdfIndexedColor object with an indexed colorspace.

Properties

Name Description
ColorIndex Gets or sets the color index.
ColorSpace Gets the colorspace.
(inherited from PdfColor)

Methods

Name Description
Copy Copies this color.
Equals Determines whether the specified Object is equal to the current Object.
GetHashCode Serves as a hash function for a particular type.
ToRgbColor Converts this color to RGB.
(inherited from PdfColor)