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

Shape.HorizontalFlip Property (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Returns whether the specified shape is flipped around the horizontal axis. Read-only.

Syntax

expression. HorizontalFlip

expression A variable that represents a Shape object.

Return Value

MsoTriState

Remarks

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

ConstantDescription
msoFalseThe specified shape is not flipped around the horizontal axis.
msoTrueThe specified shape is flipped around the horizontal 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

Concepts

Shape Object

© 2018 Microsoft