Retrieves a value indicating how text is aligned in an edit control.
public final int getTextAlign()
Returns an integer that specifies how text is aligned in an edit control. Possible return values are constants defined in the HorizontalAlignment class.
See Also setTextAlign