Guides.Add method (PowerPoint)
Adds a new drawing guide to the presentation, slide master, or custom layout.
Syntax
expression.Add(Orientation, Position)
expression A variable that represents a 'Guides' object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
Orientation | Required | PpGuideOrientation | Specifies the orientation of a drawing guide, either horizontal or vertical. |
Position | Required | Float | The position of the guide along the specified axis. |
Orientation | Required | PPGUIDEORIENTATION | |
Position | Required | FLOAT |
Return value
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