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
| Value | Description |
|---|---|
TOP | Text is aligned to the top of the textbox. |
MIDDLE | Text is aligned to the middle of the textbox. |
BOTTOM | Text is aligned to the bottom of the textbox. |
TOP_CENTERED | Text is aligned to the top centered of the textbox. |
MIDDLE_CENTERED | Text is aligned to the middle centered of the textbox. |
BOTTOM_CENTERED | Text is aligned to the bottom centered of the textbox. |
TOP_BASELINE | Text is aligned to the top baseline of the textbox. |
BOTTOM_BASELINE | Text is aligned to the bottom baseline of the textbox. |
TOP_CENTERED_BASELINE | Text is aligned to the top centered baseline of the textbox. |
BOTTOM_CENTERED_BASELINE | Text is aligned to the bottom centered baseline of the textbox. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of TextBoxAnchor values. |
Methods
| Signature | Description |
|---|---|
getName(textBoxAnchor: int) → String | Returns JAVA_STYLE string representation of integer TextBoxAnchor value. |
toString(textBoxAnchor: int) → String | Returns DotNetStyle string representation of integer TextBoxAnchor value. |
fromName(textBoxAnchorName: String) → int | Returns integer representation by TextBoxAnchor name. |
getValues() → int[] | Returns array of TextBoxAnchor values. |