text_horizontal_alignment mülk

text_horizontal_alignment mülk

Şeklin metin yatay hizalama türünü alır ve ayarlar.

Örnek

from aspose.cells import TextAlignmentType

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

Tanım:

@property
def text_horizontal_alignment(self):
    ...
@text_horizontal_alignment.setter
def text_horizontal_alignment(self, value):
    ...

Ayrıca bakınız