Table of contents
TOC
Collapse the table of content
Expand the table of content

ShadowFormat.IncrementOffsetY Method (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Changes the vertical offset of the shadow by the specified number of points.

Syntax

expression. IncrementOffsetY( Increment )

expression A variable that represents an ShadowFormat object.

Parameters

NameRequired/OptionalData TypeDescription
IncrementRequiredSingleSpecifies how far the shadow offset is to be moved vertically, in points. A positive value moves the shadow down; a negative value moves it up.

Remarks

Use the OffsetY property to set the absolute vertical shadow offset.

Example

This example moves the shadow for shape three on myDocument up by 3 points.

Set myDocument = ActivePresentation.Slides(1)

myDocument.Shapes(3).Shadow.IncrementOffsetY -3

See also

Concepts

ShadowFormat Object

© 2018 Microsoft