Textcolor; Textfont - Adobe ACROBAT FORMS JAVASCRIPT OBJECT Specification

Adobe acrobat version 4.0
Table of Contents

Advertisement

textColor

Type: Array
This property determines the foreground color of a field. It represents the text color for text,
button, or list box fields and the check color for check box or radio button fields. Values are
defined the same as the
defining color arrays and how values are set and used with this property.
var f = this.getField("MyField");
f.textColor = color.red;
In older versions of this specification, this property was fgColor . The use of fgColor is now
discouraged but for backwards compatibility is still valid.

textFont

Type: String
The textFont property determines the font that is used when laying out text in a text field,
combo box, list box or button. Valid fonts are defined as properties of the "font" object as
follows:
Text Font
Times-Roman
Times-Bold
Times-Italic
Times-BoldItalic
Helvetica
Helvetica-Bold
Helvetica-Oblique
Helvetica-BoldOblique
Courier
Courier-Bold
Courier-Oblique
Courier-BoldOblique
Symbol
ZapfDingbats
Acrobat Forms - JavaScript Object Specification
Fields: All
fillColor
property. Refer to the
Fields: Text, Combo, List & Button
Access: R/W
Color Arrays
section for information on
Access: R/W
Keyword
font.Times
font.TimesB
font.TimesI
font.TimesBI
font.Helv
font.HelvB
font.HelvI
font.HelvBI
font.Cour
font.CourB
font.CourI
font.CourBI
font.Symbol
font.ZapfD
45

Advertisement

Table of Contents
loading

This manual is also suitable for:

Acrobat forms javascript object specification

Table of Contents