AlignmentValue

AlignmentValue

Overview

AlignmentValue is a class in Aspose.Cells for NET.

AlignmentValue.WrapText gets or sets whether text in the cell wraps onto multiple lines.

Properties

NameTypeAccessDescription
HorizontalHorizontalAlignmentRead/WriteGets or sets the horizontal alignment setting
VerticalVerticalAlignmentRead/Write
WrapTextboolRead/WriteGets or sets a Boolean indicating whether text wrapping is enabled
IndentLevelintRead/WriteGets or sets the number of character spaces to indent the cell text
TextRotationintRead/WriteGets or sets the rotation angle of the cell text in degrees
ShrinkToFitboolRead/WriteGets or sets a Boolean indicating whether text should shrink to fit the cell
ReadingOrderintRead/WriteGets or sets the reading order (e.g., left‑to‑right or right‑to‑left)
RelativeIndentintRead/WriteGets or sets the relative indent level applied to the cell text

Methods

SignatureDescription
Clone()Returns a new AlignmentValue object with the same property values