HAlign Property

Applies To: Text

Description

This property determines the horizontal alignment of text in a Text object. It is either a single integer value, or, if the Text object contains several components, a corresponding vector of such values.

These may be:

0 left aligned the left edge of the bounding box of the text is aligned on the x-coordinate specified by the Points property.
1 centre aligned the centre of the bounding box of the text is aligned on the x-coordinate specified by the Points property.
2 right aligned the right edge of the bounding box of the text is aligned on the x-coordinate specified by the Points property.