Upravit

Sdílet prostřednictvím


ShapeRange.VerticalFlip property (Word)

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

Syntax

expression.VerticalFlip

expression Required. A variable that represents a ShapeRange object.

Example

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

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

See also

ShapeRange Collection Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.