Table of contents
TOC
Collapse the table of content
Expand the table of content

ShapeRange.VerticalFlip Property (Publisher)

office 365 dev account|Last Updated: 8/24/2017
|
3 Contributors

Returns msoTrue if the specified shape has been flipped around its vertical axis. Read-only.

Syntax

expression. VerticalFlip

_expression_A variable that represents a ShapeRange object.

Remarks

The VerticalFlip property value can be one of the MsoTriState constants declared in the Microsoft Office type library and shown in the following table.

ConstantDescription
msoFalseThe shape has not been flipped around its vertical axis.
msoTriStateMixedReturn value indicating a combination of msoTrue and msoFalse for the specified shape range.
msoTriStateToggleSet value that switches between msoTrue and msoFalse.
msoTrueThe shape has been flipped around its vertical axis.

Example

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

Sub Flipper() 

 Dim shpBall As Shape 

 For Each shpBall In ActiveDocument.MasterPages.Item(1).Shapes 
 If shpBall.HorizontalFlip = msoTrue Then shpBall.Flip msoFlipHorizontal 
 If shpBall.VerticalFlip = msoTrue Then shpBall.Flip msoFlipVertical 
 Next 

End Sub
© 2018 Microsoft