AlignmentValue
Overview
AlignmentValue is a class in Aspose.Cells FOSS for Java.
Represents alignment settings for a cell style.
This class provides 17 methods for working with AlignmentValue objects in Java programs.
Available methods include: clone, getHorizontal, getIndentLevel, getReadingOrder, getRelativeIndent, getShrinkToFit, getTextRotation, getVertical, getWrapText, setHorizontal, setIndentLevel, setReadingOrder, and 5 additional methods.
All exported members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package.
Properties: horizontal, indentLevel, readingOrder, relativeIndent, shrinkToFit, textRotation, and 2 more.
Description
AlignmentValue is a class in the Aspose.Cells FOSS library for Java that exposes 17 methods and 8 properties for programmatic use.
Core capabilities include: horizontalalignment; verticalalignment; boolean. These operations enable developers to integrate alignmentvalue functionality directly into Java applications.
The class also provides the horizontal property (returns the horizontal), the vertical property (returns the vertical), the wrapText property (returns the wrap text).
Properties
| Name | Type | Access | Description |
|---|---|---|---|
horizontal | HorizontalAlignment | Read | Returns the horizontal. |
vertical | VerticalAlignment | Read | Returns the vertical. |
wrapText | boolean | Read | Returns the wrap text. |
indentLevel | int | Read | Returns the indent level. |
textRotation | int | Read | Returns the text rotation. |
shrinkToFit | boolean | Read | Returns the shrink to fit. |
readingOrder | int | Read | Returns the reading order. |
relativeIndent | int | Read | Returns the relative indent. |
Methods
| Signature | Description |
|---|---|
getHorizontal() → HorizontalAlignment | Returns the horizontal. |
setHorizontal(horizontal: HorizontalAlignment) | Sets the horizontal. |
getVertical() → VerticalAlignment | Returns the vertical. |
setVertical(vertical: VerticalAlignment) | Sets the vertical. |
getWrapText() → boolean | Returns the wrap text. |
setWrapText(wrapText: boolean) | Sets the wrap text. |
getIndentLevel() → int | Returns the indent level. |
setIndentLevel(indentLevel: int) | Sets the indent level. |
getTextRotation() → int | Returns the text rotation. |
setTextRotation(textRotation: int) | Sets the text rotation. |
getShrinkToFit() → boolean | Returns the shrink to fit. |
setShrinkToFit(shrinkToFit: boolean) | Sets the shrink to fit. |
getReadingOrder() → int | Returns the reading order. |
setReadingOrder(readingOrder: int) | Sets the reading order. |
getRelativeIndent() → int | Returns the relative indent. |
setRelativeIndent(relativeIndent: int) | Sets the relative indent. |
clone() → AlignmentValue | Creates a copy of this instance. |