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

ValueDescription
PORTRAITPortrait page orientation (narrow and tall).
LANDSCAPELandscape page orientation (wide and short).

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of Orientation values.

Methods

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

See Also