Share via


Shape.VerticalFlip Property

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

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
ReadOnly Property VerticalFlip As MsoTriState
    Get
'Usage
Dim instance As Shape
Dim value As MsoTriState

value = instance.VerticalFlip
MsoTriState VerticalFlip { get; }

Property Value

Type: Microsoft.Office.Core.MsoTriState
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.

Examples

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.VerticalFlipThen s.Flip msoFlipVertical

Next

See Also

Reference

Shape Interface

Shape Members

Microsoft.Office.Interop.PowerPoint Namespace