ShadowFormat.IncrementOffsetX Method

Word Developer Reference

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

Syntax

expression.IncrementOffsetX(Increment)

expression   Required. A variable that represents a ShadowFormat object.

Parameters

Name Required/Optional Data Type Description
Increment Required Single Specifies how far the shadow offset is to be moved horizontally, in points. A positive value moves the shadow to the right; a negative value moves it to the left.

Remarks

Use the OffsetX property to set the absolute horizontal shadow offset.

Example

This example moves the shadow on the third shape in the active document to the left by 3 points.

Visual Basic for Applications
  ActiveDocument.Shapes(3).Shadow.IncrementOffsetX -3

See Also