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
| Name | Type | Access | Description |
|---|---|---|---|
Horizontal | HorizontalAlignment | Read/Write | Gets or sets the horizontal alignment setting |
Vertical | VerticalAlignment | Read/Write | |
WrapText | bool | Read/Write | Gets or sets a Boolean indicating whether text wrapping is enabled |
IndentLevel | int | Read/Write | Gets or sets the number of character spaces to indent the cell text |
TextRotation | int | Read/Write | Gets or sets the rotation angle of the cell text in degrees |
ShrinkToFit | bool | Read/Write | Gets or sets a Boolean indicating whether text should shrink to fit the cell |
ReadingOrder | int | Read/Write | Gets or sets the reading order (e.g., left‑to‑right or right‑to‑left) |
RelativeIndent | int | Read/Write | Gets or sets the relative indent level applied to the cell text |
Methods
| Signature | Description |
|---|---|
Clone() | Returns a new AlignmentValue object with the same property values |