
Acrobat Forms - JavaScript Object Specification
37
alignment
Type: String
Fields: Text
Access: R/W
This property determines how the text is laid out within the text field. Valid alignments include
left, center, and right.
var f = this.getField("MyText");
f.alignment = "center";
highlight
String
✓
✓
✓
lineWidth
Integer
✓
✓
✓
✓
✓
✓
✓
✓
✓
lineWidth
Boolean
✓
✓
name
String
✓
✓
✓
✓
✓
✓
✓
✓
numItems
Integer
✓
✓
✓
password
Boolean
✓
✓
Boolean
✓
✓
✓
✓
✓
✓
✓
✓
✓
readonly
Boolean
✓
✓
✓
✓
✓
✓
✓
✓
✓
required
Boolean
✓
✓
✓
✓
✓
✓
✓
✓
strokeColor
Array
✓
✓
✓
✓
✓
✓
✓
✓
✓
style
String
✓
✓
✓
✓
textColor
Array
✓
✓
✓
✓
✓
✓
✓
✓
✓
textColor
String
✓
✓
✓
✓
✓
✓
textSize
Integer
✓
✓
✓
✓
✓
✓
✓
✓
type
String
✓
✓
✓
✓
✓
✓
✓
✓
userName
String
✓
✓
✓
✓
✓
✓
✓
✓
✓
value
Various
✓
✓
✓
✓
✓
✓
✓
✓
Field Property
Name
Type
Text
Field
Combo
Box
List
Box
Push
Button
Check
Box
Radio
Button
Signa
ture
Read
Access
Write
Access