text_orientation_type属性

text_orientation_type属性

获取和设置形状的文本方向类型。

例子

from aspose.cells import TextOrientationType

if shape.text_orientation_type == TextOrientationType.NO_ROTATION:
    shape.text_orientation_type = TextOrientationType.TOP_TO_BOTTOM

定义:

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

也可以看看