TextOrientation

TextOrientation

Overview

TextOrientation is an enum in Aspose.Words FOSS for Java.

Specifies orientation of text on a page, in a table cell or a text frame.

Edition status of its 11 listed members (a property and its accessor methods are listed separately, overloads once): 11 not yet exercised by a verified example.

This enum declares 4 methods for TextOrientation objects in Java programs. Available methods include: fromName, getName, getValues, toString. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package. Properties: values.

Values

ValueDescription
HORIZONTALText is arranged horizontally (lr-tb).
DOWNWARDText is rotated 90 degrees to the right to appear from top to bottom (tb-rl).
UPWARDText is rotated 90 degrees to the left to appear from bottom to top (bt-lr).
HORIZONTAL_ROTATED_FAR_EASTText is arranged horizontally, but Far East characters are rotated 90 degrees to the left (lr-tb-v).
VERTICAL_FAR_EASTFar East characters appear vertical, other text is rotated 90 degrees to the right to appear from top to bottom (tb-rl-v).
VERTICAL_ROTATED_FAR_EASTFar East characters appear vertical, other text is rotated 90 degrees to the right to appear from top to bottom vertically, then left to right horizontally (tb-lr-v).

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of TextOrientation values.

Methods

SignatureDescription
getName(textOrientation: int) → StringReturns JAVA_STYLE string representation of integer TextOrientation value.
toString(textOrientation: int) → StringReturns DotNetStyle string representation of integer TextOrientation value.
fromName(textOrientationName: String) → intReturns integer representation by TextOrientation name.
getValues() → int[]Returns array of TextOrientation values.

See Also