ShapeTextOrientation
Overview
ShapeTextOrientation is an enum in Aspose.Words FOSS for Java.
Specifies orientation of text in shapes.
Edition status of its 12 listed members (a property and its accessor methods are listed separately, overloads once): 12 not yet exercised by a verified example.
This enum declares 4 methods for ShapeTextOrientation 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). |
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). |
WORD_ART_VERTICAL | Text is vertical, with one letter on top of the other. |
WORD_ART_VERTICAL_RIGHT_TO_LEFT | Text is vertical, with one letter on top of the other, then right to left horizontally. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of ShapeTextOrientation values. |
Methods
| Signature | Description |
|---|---|
getName(shapeTextOrientation: int) → String | Returns JAVA_STYLE string representation of integer ShapeTextOrientation value. |
toString(shapeTextOrientation: int) → String | Returns DotNetStyle string representation of integer ShapeTextOrientation value. |
fromName(shapeTextOrientationName: String) → int | Returns integer representation by ShapeTextOrientation name. |
getValues() → int[] | Returns array of ShapeTextOrientation values. |