Share via


ListBox.TextAlign Property

Outlook Forms Script Reference

Returns or sets an Integer that specifies how text is aligned in a control. Read/write.

Syntax

expression.TextAlign

expression   A variable that represents a ListBox object.

Remarks

The settings for TextAlign are:

Value Description
1 Aligns the first character of displayed text with the left edge of the control's display or edit area (default).
2 Centers the text in the control's display or edit area.
3 Aligns the last character of displayed text with the right edge of the control's display or edit area.

See Also