Orientation
Overview
Orientation is an enum in Aspose.Words FOSS for Java.
Specifies page orientation.
Edition status of its 7 listed members (a property and its accessor methods are listed separately, overloads once): 7 not yet exercised by a verified example.
This enum declares 4 methods for Orientation 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 |
|---|---|
PORTRAIT | Portrait page orientation (narrow and tall). |
LANDSCAPE | Landscape page orientation (wide and short). |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of Orientation values. |
Methods
| Signature | Description |
|---|---|
getName(orientation: int) → String | Returns JAVA_STYLE string representation of integer Orientation value. |
toString(orientation: int) → String | Returns DotNetStyle string representation of integer Orientation value. |
fromName(orientationName: String) → int | Returns integer representation by Orientation name. |
getValues() → int[] | Returns array of Orientation values. |