SharpCell

CellHorizontalAlignment

public enum CellHorizontalAlignment

Namespace SharpCell · package SharpCell

Where a cell's text sits across the cell.

Values

Name Value Description
General 0 Excel's default: numbers right, text left, logical values and errors in the middle.
Left 1 Against the left edge, after the indent.
Center 2 In the middle.
Right 3 Against the right edge, before the indent.
Fill 4 The text repeated to fill the cell.
Justify 5 Wrapped, each line but the last spread to both edges.
CenterContinuous 6 In the middle of this cell and the empty cells to its right.
Distributed 7 Each line spread evenly across the cell.