ShadowFormat.IncrementOffsetX method (PowerPoint)
Changes the horizontal offset of the shadow by the specified number of points.
Syntax
expression.IncrementOffsetX (Increment)
expression A variable that represents an 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 for shape three on myDocument to the left by 3 points.
Set myDocument = ActivePresentation.Slides(1)
myDocument.Shapes(3).Shadow.IncrementOffsetX -3
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for