共用方式為


ThreeDFormat.ResetRotation Method

Word Developer Reference

Resets the extrusion rotation around the x-axis and the y-axis to 0 (zero) so that the front of the extrusion faces forward.

Syntax

expression.ResetRotation

expression   Required. A variable that represents a ThreeDFormat object.

Remarks

To set the extrusion rotation around the x-axis and the y-axis to anything other than 0 (zero), use the RotationX and 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.

Bb209507.vs_note(en-us,office.12).gif  Note
This method does not reset the rotation around the z-axis.

Example

This example resets the rotation around the x-axis and the y-axis to 0 (zero) for the extrusion of the first shape on the active document.

Visual Basic for Applications
  ActiveDocument.Shapes(1).ThreeD.ResetRotation

See Also