left_in_shape属性

left_in_shape属性

表示形状与父形状左边界的水平偏移量, 以父形状宽度的 1/4000 为单位。

注意事项

仅当此形状位于组或图表中时适用。

例子


if shape.is_in_group and shape.left_in_shape == 2000:
    shape.left_in_shape = 4000

定义:

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

也可以看看