Table of contents
TOC
折叠目录
展开目录

ShapeRange.VerticalFlip 属性 (发布服务器)ShapeRange.VerticalFlip Property (Publisher)

office 365 dev account|上次更新日期: 2018/3/13
|
3 参与人员

如果指定的形状绕其纵轴,则返回msoTrue 。只读的。Returns msoTrue if the specified shape has been flipped around its vertical axis. Read-only.

语法Syntax

表达式VerticalFlipexpression. VerticalFlip

_expression_A 表示一个ShapeRange对象的变量。_expression_A variable that represents a ShapeRange object.

注解Remarks

VerticalFlip属性值可以是一个MsoTriState常量声明在 Microsoft Office 类型库,如下表所示。The VerticalFlip property value can be one of the MsoTriState constants declared in the Microsoft Office type library and shown in the following table.

常量Constant说明Description
msoFalsemsoFalse该形状没有围绕其垂直轴进行翻转。The shape has not been flipped around its vertical axis.
msoTriStateMixedmsoTriStateMixed返回值,该值指示属性值为 msoTruemsoFalse指定的形状范围的组合。Return value indicating a combination of msoTrue and msoFalse for the specified shape range.
msoTriStateTogglemsoTriStateToggle设置值,则值为 msoTruemsoFalse之间切换。Set value that switches between msoTrue and msoFalse.
属性值为 msoTruemsoTrue该形状已围绕其垂直轴进行了翻转。The 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