Edit.setTextAlign

Overview | Methods | This Package | All Packages

Edit.setTextAlign

Sets a value indicating how text is aligned in an edit control.

Syntax

public void setTextAlign( int value )

Parameters

value

An integer that specifies how text is aligned in an edit control. 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