hAlign

Specifies the horizontal text alignment.

Syntax

Reference_Syntax.hAlign = "left | center | right | justifyAll | justify | radix"

Values

Type

Values

String

  • left (default)

  • center

  • right

  • justifyAll

  • justify

Align with the left edge of the available region.

  • center

  • right

  • justifyAll

  • justify

Center horizontally within the available region.

  • right

  • justifyAll

  • justify

Align with the right edge of the available region.

  • justifyAll

  • justify

Spread-justify all lines to fill the available region.

  • justify

Left-align the last line and spread-justify the rest.

Version

XFA 2.1

Examples

JavaScript

TextField1.para.hAlign = "right";

FormCalc

TextField1.para.hAlign = "right"

// Ethnio survey code removed