top_to_corner property

top_to_corner property

Gets and sets the vertical offset of shape from worksheet top border, in unit of pixels.

Example


if shape.top_to_corner == 3:
    shape.top_to_corner = 1

Definition:

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

See Also