## HorizontalAlignmentType enumeration

Specifies how a gridcell is horizontally aligned.

```csharp
public enum HorizontalAlignmentType
```

### Values

| Name | Value | Description |
| --- | --- | --- |
| General | `0` | If object type is number,object is aligned on the right of the girdcell. If object type is string,object is aligned on the left of the girdcell. |
| Left | `1` | The object or text is aligned on the left of the gridcell. |
| Centred | `2` | The object or text is aligned in the center of the gridcell. |
| Right | `3` | The object or text is aligned on the right of the gridcell. |
| Filled | `4` | The object or text is Filled in the gridcell. |
| Justified | `5` |  |
| CentredAcross | `6` |  |
| Distributed | `7` |  |

### See Also

* namespace [Aspose.Cells.GridDesktop](../../aspose.cells.griddesktop/)
* assembly [Aspose.Cells.GridDesktop](../../)


