---
Product: Aspose.Cells
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/cells/python/textalignmenttype
---

# TextAlignmentType

## Overview

`TextAlignmentType` is an enum in Aspose.Cells FOSS for Python.

Horizontal text alignment inside a shape (ECMA-376 a:pPr algn attribute).

This enumeration defines 5 values: `LEFT`, `CENTER`, `RIGHT`, `JUSTIFY`, `DISTRIBUTED`.

## Values

| Value | Description |
|-------|-------------|
| `LEFT` |  |
| `CENTER` |  |
| `RIGHT` |  |
| `JUSTIFY` |  |
| `DISTRIBUTED` |  |

## See Also

- [Aspose.Cells for Python — Enterprise API Reference](https://reference.aspose.com/cells/python-java/)