BaselineAlignment
Overview
BaselineAlignment is an enum in Aspose.Words FOSS for Java.
Specifies fonts vertical position on a line.
Edition status of its 10 listed members (a property and its accessor methods are listed separately, overloads once): 10 not yet exercised by a verified example.
This enum declares 4 methods for BaselineAlignment 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 | Aligns along the top of each font. |
CENTER | Aligns the center points of each font. |
BASELINE | Aligns to the baseline of the paragraph. |
BOTTOM | Aligns to the bottom of each font. |
AUTO | Baseline is adjusted automatically. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of BaselineAlignment values. |
Methods
| Signature | Description |
|---|---|
getName(baselineAlignment: int) → String | Returns JAVA_STYLE string representation of integer BaselineAlignment value. |
toString(baselineAlignment: int) → String | Returns DotNetStyle string representation of integer BaselineAlignment value. |
fromName(baselineAlignmentName: String) → int | Returns integer representation by BaselineAlignment name. |
getValues() → int[] | Returns array of BaselineAlignment values. |