Click or drag to resize

PdfColor Structure

Represents a color, for use by various PdfObject properties and other attributes of a PdfDocument.

Namespace:  RadPdf.Data.Document.Common
Assembly:  RadPdf (in RadPdf.dll) Version: 3.22.0.0 (3.22.0.0)
Syntax
public struct PdfColor

The PdfColor type exposes the following members.

Constructors
  NameDescription
Public methodPdfColor
Create an instance of a PDF color object for use with a PdfObject
Top
Properties
  NameDescription
Public propertyIsTransparent
Check if this color is transparent
Public propertyIsVisible
Check if this color is visible
Top
Methods
  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
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
Returns the hash code for this instance.
(Inherited from ValueType.)
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
Get color represented as a string
(Overrides ValueTypeToString.)
Top
Fields
  NameDescription
Public fieldStatic memberBlack
Represents a black PdfColor. This field is read-only.
Public fieldStatic memberBlue
Represents a blue PdfColor. This field is read-only.
Public fieldStatic memberGreen
Represents a green PdfColor. This field is read-only.
Public fieldStatic memberOrange
Represents a orange PdfColor. This field is read-only.
Public fieldStatic memberPurple
Represents a purple PdfColor. This field is read-only.
Public fieldStatic memberRed
Represents a red PdfColor. This field is read-only.
Public fieldStatic memberTransparent
Represents a transparent PdfColor. This field is read-only.
Public fieldStatic memberWhite
Represents a white PdfColor. This field is read-only.
Public fieldStatic memberYellow
Represents a yellow PdfColor. This field is read-only.
Top
See Also