text_vertical_alignment property

text_vertical_alignment property

Gets and sets the text vertical alignment type of the shape.

Example

from aspose.cells import TextAlignmentType

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

Definition:

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

See Also