VerticalFlip Property

Microsoft Word Visual Basic

Show All

VerticalFlip Property

       

True if the specified shape is flipped around the vertical axis. Read-only MsoTriState.

MsoTriState can be one of these MsoTriState constants.
msoCTrue
msoFalse
msoTriStateMixed
msoTriStateToggle
msoTrue

expression.VerticalFlip

expression   Required. An expression that returns one of the objects in the Applies To list.

Example

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

For Each s In ActiveDocument.Shapes
    If s.HorizontalFlip Then s.Flip msoFlipHorizontal
    If s.VerticalFlip Then s.Flip msoFlipVertical
Next