Color Class

Pageflex Document Action API

Pageflex Document Action API Color Class
Namespaces > Pageflex.Scripting > Color
The Color class represents a named color defined for a document.
Syntax
C# Visual Basic Managed C++
public class Color : PFObject
Public Class Color _
	Inherits PFObject
public ref class Color : public PFObject
Members
All Members Constructors Methods Properties Fields Events



Icon Member Description
CmykValue
Gets or sets as a single number the CMYK component values defining the color.
CmykValues
Gets or sets the cyan, magenta, yellow, and black components of this color.
Equals(Object) (Inherited from Object.)
Finalize() (Inherited from Object.)
GetHashCode() (Inherited from Object.)
GetType() (Inherited from Object.)
IsCmyk
Returns trueTruetrue if the color is defined by cyan, magenta, yellow, and black components; falseFalsefalse otherwise.
IsProcess
Returns trueTruetrue if the color is a process color; falseFalsefalse if it is a spot color.
IsRgb
Returns trueTruetrue if the color is defined by red, green, and blue components; falseFalsefalse otherwise.
IsSpot
Returns trueTruetrue if the color is a spot color; falseFalsefalse if it is a process color.
MemberwiseClone() (Inherited from Object.)
Name
Gets the name of the color.
RgbValue
Gets or sets as a single number the RGB component values defining the color.
RgbValues
Gets or sets the red, green, and blue components of this color.
ToString() (Inherited from Object.)
Inheritance Hierarchy
Object
PFObject
  Color

Assembly: PFScript Version: 8.0.7.1407 (Module: PFScript)