Click or drag to resize

HorizontalAlignmentStyle Enumeration

Horizontal alignment styles used for CellStyle.HorizontalAlignment.

Namespace: SautinSoft.Excel
Assembly: SautinSoft.Excel (in SautinSoft.Excel.dll) Version: 2025.2.6
Syntax
public enum HorizontalAlignmentStyle
Members
Member nameValueDescription
General0 Aligns data depending on the data type (text, number, etc.). Consult Microsoft Excel documentation.
Left1 Left alignment.
Center2 Center alignment.
Right3 Right alignment.
Fill4 Fill alignment repeats cell data to fill the whole cell.
Justify5 Justify alignment.
CenterAcross6 Centered across selection. Multiple cells can be selected but only one should have value for this alignment to have effect.
Distributed7 Distributed alignment.
See Also