text_direction属性

text_direction属性

获取/设置该对象的文本流方向。

例子

from aspose.cells import TextDirectionType

if shape.text_direction == TextDirectionType.CONTEXT:
    shape.text_direction = TextDirectionType.LEFT_TO_RIGHT

定义:

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

也可以看看