Adobe acrobat forms javascript object specification User Manual
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.
left, center, and right.
var f = this.getField("MyText");
f.alignment = "center";
String
✓
✓
✓
Integer
✓
✓
✓
✓
✓
✓
✓
✓
✓
Boolean
✓
✓
String
✓
✓
✓
✓
✓
✓
✓
✓
Integer
✓
✓
✓
Boolean
✓
✓
Boolean
✓
✓
✓
✓
✓
✓
✓
✓
✓
Boolean
✓
✓
✓
✓
✓
✓
✓
✓
✓
Boolean
✓
✓
✓
✓
✓
✓
✓
✓
Array
✓
✓
✓
✓
✓
✓
✓
✓
✓
String
✓
✓
✓
✓
Array
✓
✓
✓
✓
✓
✓
✓
✓
✓
String
✓
✓
✓
✓
✓
✓
Integer
✓
✓
✓
✓
✓
✓
✓
✓
String
✓
✓
✓
✓
✓
✓
✓
✓
String
✓
✓
✓
✓
✓
✓
✓
✓
✓
Various
✓
✓
✓
✓
✓
✓
✓
✓
Field Property
Name
Type
Text
Field
Combo
Box
List
Box
Push
Button
Check
Box
Radio
Button
Signa
ture
Read
Access
Write
Access