Lists the values used to specify horizontal alignment of data within a cell.
The cell content is centered horizontally.
The cell content is centered horizontally across multiple cells.
The text is wrapped to fit into the cell width and each line of text is horizontally distributed across the full width of the cell. This alignment type allows applying an indent to both the left and right sides of the cell.
Repeats the cell content across the whole width of the cell.
The cell content is horizontally aligned according to the data type (text is aligned to the left; numbers, date and time values are aligned to the right; boolean and error values are centered).
The text is wrapped to fully fit into the cell width and each line of text (except the last line) is horizontally justified to the right and left of the cell.
The cell content is horizontally aligned on the left.
The cell content is horizontally aligned on the right.
The SpreadsheetHorizontalAlignment enumerator members are used to set the Alignment.Horizontal property.
For details on how to align data within cells, see the How to: Align Cell Content topic.