text_shape_type属性

text_shape_type属性

获取和设置预设文本形状类型。

例子

from aspose.cells.drawing import AutoShapeType

if shape.text_shape_type == AutoShapeType.UNKNOWN:
    shape.text_shape_type = AutoShapeType.RECTANGLE

定义:

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

也可以看看