##  text_horizontal_alignment fastighet

Hämtar och anger textens horisontella justeringstyp för formen.

###  Exempel

```python
from aspose.cells import TextAlignmentType

if shape.text_horizontal_alignment == TextAlignmentType.BOTTOM:
    shape.text_horizontal_alignment = TextAlignmentType.CENTER

```
###  Definition:
```python
@property
def text_horizontal_alignment(self):
    ...
@text_horizontal_alignment.setter
def text_horizontal_alignment(self, value):
    ...
```

###  Se även
* modul [`aspose.cells.drawing`](../../)
* klass [`Shape`](/cells/python-net/sv/aspose.cells.drawing/shape)
* klass [`TextAlignmentType`](/cells/python-net/sv/aspose.cells/textalignmenttype)
