DocumentDirection
Overview
DocumentDirection is an enum in Aspose.Words FOSS for Java.
Allows to specify the direction to flow the text in a document.
Edition status of its 8 listed members (a property and its accessor methods are listed separately, overloads once): 8 not yet exercised by a verified example.
This enum declares 4 methods for DocumentDirection 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 |
|---|---|
LEFT_TO_RIGHT | Left to right direction. |
RIGHT_TO_LEFT | Right to left direction. |
AUTO | Auto-detect direction. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of DocumentDirection values. |
Methods
| Signature | Description |
|---|---|
getName(documentDirection: int) → String | Returns JAVA_STYLE string representation of integer DocumentDirection value. |
toString(documentDirection: int) → String | Returns DotNetStyle string representation of integer DocumentDirection value. |
fromName(documentDirectionName: String) → int | Returns integer representation by DocumentDirection name. |
getValues() → int[] | Returns array of DocumentDirection values. |