top_to_corner属性
top_to_corner属性
获取或设置形状与工作表顶部边框的垂直偏移量,以像素为单位。
例子
if shape.top_to_corner == 3:
    shape.top_to_corner = 1
定义:
@property
def top_to_corner(self):
    ...
@top_to_corner.setter
def top_to_corner(self, value):
    ...
获取或设置形状与工作表顶部边框的垂直偏移量,以像素为单位。
if shape.top_to_corner == 3:
    shape.top_to_corner = 1
@property
def top_to_corner(self):
    ...
@top_to_corner.setter
def top_to_corner(self, value):
    ...