以指定的磅数修改阴影的垂直偏移量。使用 OffsetY 属性设置阴影的绝对垂直偏移量。
expression.IncrementOffsetY(Increment)
expression 必选。该表达式返回一个 ShadowFormat 对象。
Increment 必选。Single 类型。指定阴影的垂直偏移量,以磅为单位。正值将阴影下移,负值将阴影上移。
本示例将 myDocument
上第三个形状的阴影上移 3 磅。
Set myDocument = ActivePresentation.Slides(1)
myDocument.Shapes(3).Shadow.IncrementOffsetY -3