Microsoft SDK for Java

Label.getTextAlign

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

Syntax

public final int getTextAlign()

Return Value

Returns an integer that specifies how text is aligned in a label. Possible return values are constants defined in the HorizontalAlignment class.

See Also   setTextAlign

© 1999 Microsoft Corporation. All rights reserved. Terms of use.