##  text_horizontal_alignment عقار

يحصل على نوع محاذاة النص الأفقية للشكل ويقوم بتعيينه.

###  مثال

```python
from aspose.cells import TextAlignmentType

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

```
###  تعريف:
```python
@property
def text_horizontal_alignment(self):
    ...
@text_horizontal_alignment.setter
def text_horizontal_alignment(self, value):
    ...
```

###  أنظر أيضا
* الوحدة [`aspose.cells.drawing`](../../)
* فئة [`Picture`](/cells/python-net/ar/aspose.cells.drawing/picture)
* فئة [`TextAlignmentType`](/cells/python-net/ar/aspose.cells/textalignmenttype)
