Share via


HorizontalFlip Property

MsoTriState

MsoTriState can be one of these MsoTriState constants.
msoCTrue
msoFalse
msoTriStateMixed
msoTriStateToggle
msoTrue The specified shape is flipped around the horizontal axis.

Example

This example restores each shape on myDocument to its original state, if it's been flipped horizontally or vertically.

Set myDocument = ActivePresentation.Slides(1)
For Each s In myDocument.Shapes
    If s.HorizontalFlip Then s.Flip msoFlipHorizontal
    If s.VerticalFlip Then s.Flip msoFlipVertical
Next

Applies to | Shape Object | ShapeRange Collection Object

See Also | Flip Method | VerticalFlip Property