Color object

An object that can be used when setting a color in other JavaScript methods and properties.

 

Example: Sets the text color in the form field “First Name” to red.

 

this.getField("First Name").textColor = color.red;

 

Properties & Methods

The color object supports all properties and methods included in the Acrobat JavaScript specification.