Enum XlsxHorizontalAlignment
- Namespace
- DocWright.Spreadsheet
- Assembly
- DocWright.Spreadsheet.dll
Horizontal alignment of a cell's content.
public enum XlsxHorizontalAlignment
Fields
General = 0Excel's own rule: text left, numbers and dates right.
Left = 1Left.
Center = 2Centred.
Right = 3Right.
Fill = 4The content repeated across the cell's width (
fill).Justify = 5Wrapped, with every line but the last spread to both edges (
justify).CenterAcrossSelection = 6Centred across this cell and the empty cells after it that carry the same alignment (
centerContinuous, Excel's "Center Across Selection").Distributed = 7Wrapped, with every line spread to both edges (
distributed).