TabAlignment

Overview

TabAlignment is an enum in Aspose.Words FOSS for Java.

Specifies the alignment/type of a tab stop.

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 TabAlignment 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
LEFTLeft-aligns the text after the tab stop.
CENTERCenters the text around the tab stop.
RIGHTRight-aligns the text at the tab stop.
DECIMALAligns the text at the decimal dot.
BARDraws a vertical bar at the tab stop position.
LISTThe tab is a delimiter between the number/bullet and text in a list item.
CLEARClears any tab stop in this position.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of TabAlignment values.

Methods

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

See Also