NanoXLSX Library Documentation
![]() | StyleCellXfHorizontalAlignValue Enumeration |
Enum for the horizontal alignment of a cell
Namespace: NanoXLSX.Style
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 1.2.3.0 (1.2.3)

C#
public enum HorizontalAlignValue

Member name | Value | Description | |
---|---|---|---|
left | 0 | Content will be aligned left | |
center | 1 | Content will be aligned in the center | |
right | 2 | Content will be aligned right | |
fill | 3 | Content will fill up the cell | |
justify | 4 | justify alignment | |
general | 5 | General alignment | |
centerContinuous | 6 | Center continuous alignment | |
distributed | 7 | Distributed alignment | |
none | 8 | No alignment. The alignment will not be used in a style |
