<!-- Generated by tools/SharpCell.Docs from the XML documentation comments. Do not edit; run the tool with 'generate'. -->

# CellHorizontalAlignment

```csharp
public enum CellHorizontalAlignment
```

Namespace `SharpCell` · package `SharpCell`

Where a cell's text sits across the cell.

## Values

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