textColor
Type: Array
Fields: All
Access: R/W
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
fillColor
property. Refer to the
Color Arrays
section for information on
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
Fields: Text, Combo, List & Button
Access: R/W
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
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
Acrobat Forms - JavaScript Object Specification
45
Index Bookmark Pages Text
Previous Next
Pages: Index All Pages
This HTML file was created by VeryPDF PDF to HTML Converter product.