anchor_type属性

anchor_type属性

获取并设置形状锚点占位符。

例子

from aspose.cells.drawing import ShapeAnchorType

if shape.anchor_type == ShapeAnchorType.ONE_CELL_ANCHOR:
    shape.anchor_type = ShapeAnchorType.TWO_CELL_ANCHOR

定义:

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

也可以看看