DocumentDirection

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

ValueDescription
LEFT_TO_RIGHTLeft to right direction.
RIGHT_TO_LEFTRight to left direction.
AUTOAuto-detect direction.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of DocumentDirection values.

Methods

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

See Also