AlignmentValue
Overview
AlignmentValue is a class in Aspose.Cells FOSS for Java.
Represents alignment settings for a cell style.
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. |