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

ShadowFormat.IncrementOffsetX Method (Publisher)

office 365 dev account|Last Updated: 8/24/2017
3 Contributors

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


expression. IncrementOffsetX( Increment)

_expression_A variable that represents a ShadowFormat object.


NameRequired/OptionalData TypeDescription
IncrementRequiredVariantSpecifies how far the shadow offset is to be moved horizontally. A positive value moves the shadow to the right; a negative value moves it to the left. Numeric values are evaluated in points; strings can be in any units supported by Microsoft Publisher (for example, "2.5 in").


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

Use the IncrementOffsetY method to change a shadow's vertical offset.


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

ActiveDocument.Pages(1).Shapes(3).Shadow _ 
 .IncrementOffsetX Increment:=-3 
© 2018 Microsoft