VerticalAlignment
Overview
VerticalAlignment is an enum in Aspose.Words FOSS for Java.
Specifies vertical alignment of a floating shape, text frame or a floating table.
Edition status of its 13 listed members (a property and its accessor methods are listed separately, overloads once): 13 not yet exercised by a verified example.
This enum declares 4 methods for VerticalAlignment 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 |
|---|---|
NONE | The object is explicitly positioned, usually using its Top property. |
TOP | Specifies that the object shall be at the top of the vertical alignment base. |
CENTER | Specifies that the object shall be centered with respect to the vertical alignment base. |
BOTTOM | Specifies that the object shall be at the bottom of the vertical alignment base. |
INSIDE | Specifies that the object shall be inside of the horizontal alignment base. |
OUTSIDE | Specifies that the object shall be outside of the vertical alignment base. |
INLINE | Not documented. |
DEFAULT | Same as NONE. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of VerticalAlignment values. |
Methods
| Signature | Description |
|---|---|
getName(verticalAlignment: int) → String | Returns JAVA_STYLE string representation of integer VerticalAlignment value. |
toString(verticalAlignment: int) → String | Returns DotNetStyle string representation of integer VerticalAlignment value. |
fromName(verticalAlignmentName: String) → int | Returns integer representation by VerticalAlignment name. |
getValues() → int[] | Returns array of VerticalAlignment values. |