Label.setTextAlign

Overview | Methods | This Package | All Packages

Label.setTextAlign

Sets a value indicating how text is aligned in a label.

Syntax

public void setTextAlign( int value )

Parameters

value

An integer that specifies how text is aligned in a label. Possible values are constants defined in the HorizontalAlignment class. The default value is HorizontalAlignment.LEFT.

Exceptions

WFCInvalidEnumException thrown if the specified value is not a valid HorizontalAlignment constant.

See Also   getTextAlign