x属性
x属性
获取和设置形状相对于工作表左边框的水平偏移量,以像素为单位。
例子
if shape.x == 3:
shape.x = 1
定义:
@property
def x(self):
...
@x.setter
def x(self, value):
...
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising. Google's data policies
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.