TextBoxAnchor

Overview

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

Specifies values used for shape text vertical alignment.

Edition status of its 15 listed members (a property and its accessor methods are listed separately, overloads once): 15 not yet exercised by a verified example.

This enum declares 4 methods for TextBoxAnchor 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
TOPText is aligned to the top of the textbox.
MIDDLEText is aligned to the middle of the textbox.
BOTTOMText is aligned to the bottom of the textbox.
TOP_CENTEREDText is aligned to the top centered of the textbox.
MIDDLE_CENTEREDText is aligned to the middle centered of the textbox.
BOTTOM_CENTEREDText is aligned to the bottom centered of the textbox.
TOP_BASELINEText is aligned to the top baseline of the textbox.
BOTTOM_BASELINEText is aligned to the bottom baseline of the textbox.
TOP_CENTERED_BASELINEText is aligned to the top centered baseline of the textbox.
BOTTOM_CENTERED_BASELINEText is aligned to the bottom centered baseline of the textbox.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of TextBoxAnchor values.

Methods

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

See Also