Returns msoTrue if the specified shape has been flipped around its horizontal axis. Read-only MsoTriState.
MsoTriState can be one of these MsoTriState constants. |
msoCTrue Not used with this property. |
msoFalse The shape has not been flipped around its horizontal axis. |
msoTriStateMixed Indicates a combination of msoTrue and msoFalse for the specified shape range. |
msoTriStateToggle Not used with this property. |
msoTrue The shape has been flipped around its horizontal axis. |
expression.HorizontalFlip
expression Required. An expression that returns one of the objects in the Applies To list.
This example restores each shape on the active publication to its original state if it's been flipped horizontally or vertically.
Sub Flipper()
Dim shpS As Shape
For Each shpS In ActiveDocument.MasterPages.Item(1).Shapes
If shpS.HorizontalFlip = msoTrue Then shpS.Flip msoFlipHorizontal
If shpS.VerticalFlip = msoTrue Then shpS.Flip msoFlipVertical
Next
End Sub