EVO HTML to PDF Converter

PdfColor Class

EVO HTML to PDF Converter for .NET Documentation
Represents a PDF color
Inheritance Hierarchy

SystemObject
  EvoPdfPdfColor

Namespace:  EvoPdf
Assembly:  evohtmltopdf (in evohtmltopdf.dll) Version: 10.0.0.0
Syntax

public class PdfColor

The PdfColor type exposes the following members.

Constructors

  NameDescription
Public methodPdfColor(Color)
Creates a PDF color object 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. The color values are on a scale from 0 to 255.
Public methodPdfColor(Single, Single, Single, Single)
Creates a color based on GMYK values. The color values are on a scale from 0 to 1.
Top
Properties

  NameDescription
Public propertyBlue
Gets or sets the value of the Blue component of this PDF color.
Public propertyCyan
Gets or sets Cyan value.
Public propertyStatic memberEmpty
Gets a reference to an empty PDF color having all components 0.
Public propertyGray
Gets or sets Gray level.
Public propertyGreen
Gets or sets the value of the Green component of this PDF color.
Public propertyKey
Gets or sets Black value.
Public propertyMagenta
Gets sets Magenta value.
Public propertyRed
Gets or sets the value of the Red component of this PDF color.
Public propertyYellow
Gets sets Yellow chanel value.
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Operators

  NameDescription
Public operatorStatic member(Color to PdfColor)
Implicit operator to convert a .NET Color structure a PDF color.
Public operatorStatic member(PdfColor to Color)
Implicit operator to convert a PDF color to a .NET Color structure.
Top
See Also

Reference