Flip Method
Applies To
Shape object, ShapeRange collection object.
Description
Flips the specified shape around it's horizontal or vertical axis.
Syntax
expression.Flip(FlipCmd)
expression Required. An expression that returns a Shape or ShapeRange object.
FlipCmd Required Long. Specifies whether the shape is to be flipped horizontally or vertically. Can be either of the following MsoFlipCmd constants: msoFlipHorizontal or msoFlipVertical.
Example
This example adds a triangle to myDocument, duplicates the triangle, and then flips the duplicate triangle vertically and makes it red.
Set myDocument = ActiveDocument
With myDocument.Shapes.AddShape(msoShapeRightTriangle, 10, 10, 50, 50).Duplicate
.Fill.ForeColor.RGB = RGB(255, 0, 0)
.Flip msoFlipVertical
End With