Skip to content
本页内容

TextureOffsetY (属性)

返回指定填充的偏移 Y 值。可读/写 Single 类型。

示例

python
#本示例显示第一张工作表中第一个形状填充的偏移 Y 值
def test():
    fillFormat = Application.Worksheets.Item(1).Shapes.Item(1).Fill
    print(fillFormat.TextureOffsetY)
python
#本示例将活动工作表中第二个形状填充的偏移 Y 值设置为20
def test():
    fillFormat = ActiveSheet.Shapes.Item(2).Fill
    fillFormat.TextureOffsetY = 20