Microsoft SDK for Java

DhStyleBase.setTextVerticalAlign

Sets the text vertical alignment style.

Syntax

public void setTextVerticalAlign( int nVerticalAlign )

Parameters

nVerticalAlign

The new alignment setting. This can be one of following values found in DhAlignment:

BASELINE (default)

SUBSCRIPT

SUPERSCRIPT

Exceptions

WFCInvalidArgumentException thrown if nAlignment is not one of the above values.

See Also   getTextVerticalAlign

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