User Guide
Nitro PDF Pro
JavaScript

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.

Tags
Nitro PDF Pro
Future of Work

The Nitro 2022 Productivity Report

Learn how the pandemic has transformed productivity, workflows and digital initiatives, as well as the trends and technologies shaping work in 2022 and beyond.