IncrementOffsetY Method

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Incrementally changes the vertical offset of the shadow by the specified distance.

expression.IncrementOffsetY(Increment)

expression   Required. An expression that returns one of the objects in the Applies To list.

Increment  Required Variant. Specifies how far the shadow offset is to be moved vertically. A positive value moves the shadow down; a negative value moves it up. Numeric values are evaluated in points; strings can be in any units supported by Microsoft Publisher (for example, "2.5 in").

Remarks

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

Use the IncrementOffsetX method to change a shadow's horizontal offset.

Example

This example moves the shadow for the third shape in the active publication up by 3 points.

<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml">ActiveDocument.Pages(1).Shapes(3).Shadow _ .<strong>IncrementOffsetY</strong> Increment:=-3 </pre>