Shape.Flip Method
PowerPoint Developer Reference |
Flips the specified shape around its horizontal or vertical axis.
Syntax
expression.Flip(FlipCmd)
expression A variable that represents a Shape object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
FlipCmd | Required | MsoFlipCmd | Specifies whether the shape is to be flipped horizontally or vertically. |
Remarks
The
FlipCmd
parameter value can be one of these MsoFlipCmd constants.
msoFlipHorizontal |
msoFlipVertical |
Example
This example adds a triangle to myDocument
, duplicates the triangle, and then flips the duplicate triangle vertically and makes it red.
Visual Basic for Applications |
---|
|
See Also