y property

y property

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

Example


if shape.y == 3:
    shape.y = 1

Definition:

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

See Also