text_horizontal_alignment fastighet

text_horizontal_alignment fastighet

Hämtar och ställer in textens horisontella anpassningstyp för formen.

Exempel

from aspose.cells import TextAlignmentType

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

Definition:

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

Se även