text_horizontal_alignment عقار

text_horizontal_alignment عقار

الحصول على نوع المحاذاة الأفقية للتعليق وتعيينه.

مثال

from aspose.cells import TextAlignmentType

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

تعريف:

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

أنظر أيضا