ShapeRange.Flip Method
Publisher Developer Reference |
Flips the specified shape around its horizontal or vertical axis, or flips all the shapes in the specified shape range around their horizontal or vertical axes.
Syntax
expression.Flip(FlipCmd)
expression A variable that represents a ShapeRange object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
FlipCmd | Required | MsoFlipCmd | Specifies whether the shape is flipped horizontally or vertically. |
Remarks
The FlipCmd parameter can be one of the following MsoFlipCmd constants declared in the Microsoft Office type library.
msoFlipHorizontal |
msoFlipVertical |
Example
This example adds a triangle to the first page of the active publication, duplicates the triangle, and then flips the duplicate triangle vertically and makes it red.
Visual Basic for Applications |
---|
|
See Also