text_horizontal_alignment property
text_horizontal_alignment property
Gets and sets the text horizontal alignment type of the shape.
Example
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):
...
See Also
- module
aspose.cells.drawing
- class
SmartArtShape
- class
TextAlignmentType