Skip to main content

XlCellAlignment Properties

Contains alignment settings for a cell.
Name Description
HorizontalAlignment Gets or sets the horizontal alignment of the cell content.
Indent Gets or sets the cell content indention from the cell edge depending on the applied horizontal alignment.
JustifyLastLine Gets or sets a value indicating whether the justified or distributed alignment should be applied to the last line of the cell text.
ReadingOrder Gets or sets the reading order for text in a cell.
RelativeIndent

Reserved for future use.

Gets or sets the additional indent value to add some extra space between the cell content and the cell edge.

ShrinkToFit Gets or sets a value indicating whether the font size of the cell text should be automatically adjusted to fit the cell width.
TextRotation Gets or sets the rotation angle of the cell content.
VerticalAlignment Gets or sets the vertical alignment of the cell content.
WrapText Gets or sets a value indicating whether the text contained in a cell should be wrapped into multiple lines.
See Also