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
| Value | Description |
|---|---|
HORIZONTAL | Text is arranged horizontally (lr-tb). |
DOWNWARD | Text is rotated 90 degrees to the right to appear from top to bottom (tb-rl). |
UPWARD | Text is rotated 90 degrees to the left to appear from bottom to top (bt-lr). |
HORIZONTAL_ROTATED_FAR_EAST | Text is arranged horizontally, but Far East characters are rotated 90 degrees to the left (lr-tb-v). |
VERTICAL_FAR_EAST | Far 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_EAST | Far 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
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of TextOrientation values. |
Methods
| Signature | Description |
|---|---|
getName(textOrientation: int) → String | Returns JAVA_STYLE string representation of integer TextOrientation value. |
toString(textOrientation: int) → String | Returns DotNetStyle string representation of integer TextOrientation value. |
fromName(textOrientationName: String) → int | Returns integer representation by TextOrientation name. |
getValues() → int[] | Returns array of TextOrientation values. |