AlignmentValue

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.

Properties

NameTypeAccessDescription
horizontalHorizontalAlignmentReadReturns the horizontal.
verticalVerticalAlignmentReadReturns the vertical.
wrapTextbooleanReadReturns the wrap text.
indentLevelintReadReturns the indent level.
textRotationintReadReturns the text rotation.
shrinkToFitbooleanReadReturns the shrink to fit.
readingOrderintReadReturns the reading order.
relativeIndentintReadReturns the relative indent.

Methods

SignatureDescription
getHorizontal()HorizontalAlignmentReturns the horizontal.
setHorizontal(horizontal: HorizontalAlignment)Sets the horizontal.
getVertical()VerticalAlignmentReturns the vertical.
setVertical(vertical: VerticalAlignment)Sets the vertical.
getWrapText()booleanReturns the wrap text.
setWrapText(wrapText: boolean)Sets the wrap text.
getIndentLevel()intReturns the indent level.
setIndentLevel(indentLevel: int)Sets the indent level.
getTextRotation()intReturns the text rotation.
setTextRotation(textRotation: int)Sets the text rotation.
getShrinkToFit()booleanReturns the shrink to fit.
setShrinkToFit(shrinkToFit: boolean)Sets the shrink to fit.
getReadingOrder()intReturns the reading order.
setReadingOrder(readingOrder: int)Sets the reading order.
getRelativeIndent()intReturns the relative indent.
setRelativeIndent(relativeIndent: int)Sets the relative indent.
clone()AlignmentValueCreates a copy of this instance.

See Also