Click or drag to resize
Pdf Library for .NET

PdfColor Class

Represents a pdf color.
Inheritance Hierarchy
SystemObject
  SelectPdfPdfColor

Namespace: SelectPdf
Assembly: Select.HtmlToPdf (in Select.HtmlToPdf.dll) Version: 26.2
Syntax
public class PdfColor

The PdfColor type exposes the following members.

Constructors
 NameDescription
Public methodPdfColor(Color) Creates a pdf color based on a .NET system color.
Public methodPdfColor(Single) Creates a Gray-scale color based on a gray level.
Public methodPdfColor(Byte, Byte, Byte) Creates a pdf color based on RGB values.
Public methodPdfColor(Single, Single, Single, Single) Creates a pdf color based on GMYK values.
Top
Properties
 NameDescription
Public propertyBlue Gets or sets the Blue value of this pdf color.
Public propertyCyan Gets or sets the Cyan value of this pdf color.
Public propertyStatic memberEmpty An empty color.
Public propertyGray Gets or sets the Gray level of this pdf color.
Public propertyGreen Gets or sets the Green value of this pdf color.
Public propertyKey Gets or sets the Key value of this pdf color.
Public propertyMagenta Gets or sets the Magenta value of this pdf color.
Public propertyRed Gets or sets the Red value of this pdf color.
Public propertyYellow Gets or sets the Yellow value of this pdf color.
Top
Operators
 NameDescription
Public operatorStatic member(Color to PdfColor) Implicit operator to convert a .NET system color to a pdf color.
Public operatorStatic member(PdfColor to Color) Implicit operator to convert a pdf color to a .NET system color.
Top
See Also