Microsoft SDK for Java

DhStyleBase.getTextAlign

Retrieves the current text alignment setting.

Syntax

public int getTextAlign()

Return Value

Returns the current alignment as one of the following DhAlignment values:

LEFT (default)

RIGHT

CENTER

JUSTIFY

See Also   setTextAlign

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