text_horizontal_alignment property

text_horizontal_alignment property

Gets and sets the text horizontal alignment type of the comment.

Example

from aspose.cells import TextAlignmentType

if comment1.text_horizontal_alignment == TextAlignmentType.FILL:
    comment1.text_horizontal_alignment = TextAlignmentType.CENTER

Definition:

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

See Also