Click or drag to resize

PdfColor Class

Represents a PDF color
Inheritance Hierarchy
SystemObject
  ExpertPdf.HtmlToPdf.PdfDocumentPdfColor

Namespace:  ExpertPdf.HtmlToPdf.PdfDocument
Assembly:  ephtmltopdf (in ephtmltopdf.dll) Version: 17.0.0
Syntax
public class PdfColor

The PdfColor type exposes the following members.

Constructors
  NameDescription
Public methodPdfColor(Color)
Creates a color based on a .NET Color structure
Public methodPdfColor(Single)
Creates a Grayscale color based on gray level
Public methodPdfColor(Byte, Byte, Byte)
Creates a color based on RGB values.
Public methodPdfColor(Single, Single, Single, Single)
Creates a 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 Cyan value.
Public propertyStatic memberEmpty
The null color.
Public propertyGray
Gets or sets Gray level.
Public propertyGreen
Gets or sets the Green value of this PDF color.
Public propertyKey
Gets or sets Black value.
Public propertyMagenta
Gets sets Magenta value.
Public propertyRed
Gets or sets the Red of this PDF color.
Public propertyYellow
Gets sets Yellow chanel value.
Top
Operators
See Also