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

ThreeDFormat.ResetRotation 方法 (PowerPoint)ThreeDFormat.ResetRotation Method (PowerPoint)

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

将延伸部分的 X 轴和 Y 轴的旋转量重新设置为 0,以使延伸部分的正面向前。此方法不重新设置绕 Z 轴的旋转量。Resets the extrusion rotation around the x-axis and the y-axis to 0 (zero) so that the front of the extrusion faces forward. This method doesn't reset the rotation around the z-axis.

语法Syntax

表达式ResetRotationexpression. ResetRotation

表达式_一个表示ThreeDFormat对象的变量。_expression A variable that represents a ThreeDFormat object.

注解Remarks

将延伸绕 x 轴和 y 轴的旋转设置为 0 (零) 之外的任何内容,请使用ThreeDFormat对象的超出 RotationX超出 RotationY属性。若要设置延伸图形绕 z 轴旋转,请使用表示延伸的形状的Shape对象的旋转属性。To set the extrusion rotation around the x-axis and the y-axis to anything other than 0 (zero), use the RotationXand RotationY properties of the ThreeDFormat object. To set the extrusion rotation around the z-axis, use the Rotation property of the Shape object that represents the extruded shape.

示例Example

本示例重新设置 x 轴和 y 轴为 0 (零) 为第一个图形的延伸部分绕轴的旋转,在myDocumentThis example resets the rotation around the x-axis and the y-axis to 0 (zero) for the extrusion of shape one on myDocument.

Set myDocument = ActivePresentation.Slides(1)

myDocument.Shapes(1).ThreeD.ResetRotation

另请参阅See also

概念Concepts

ThreeDFormat 对象ThreeDFormat Object

© 2018 Microsoft