Bewerken

Delen via


ShapeRange.VerticalFlip property (PowerPoint)

Determines whether the specified shape is flipped around the vertical axis. Read-only.

Syntax

expression.VerticalFlip

expression A variable that represents a ShapeRange object.

Return value

MsoTriState

Remarks

The value of the VerticalFlip property can be one of these MsoTriState constants.

Constant Description
msoFalse The specified shape is not flipped around the vertical axis.
msoTrue The specified shape is flipped around the vertical axis.

Example

This example restores each shape on myDocument to its original state if it is 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

See also

ShapeRange 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.