Skip to content

Latest commit

 

History

History
32 lines (15 loc) · 1.13 KB

91e3943a-0087-fcb9-e33f-d41b60b869a7.md

File metadata and controls

32 lines (15 loc) · 1.13 KB

ThreeDFormat.ResetRotation Method (Publisher)

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

Syntax

expression. ResetRotation

_expression_A variable that represents a ThreeDFormat object.

Remarks

This method doesn't reset the rotation around the z-axis (extends outward from the plane of the publication).

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

Example

This example resets the rotation around the x-axis and the y-axis to zero for the extrusion of the first shape in the active publication.

ActiveDocument.Pages(1).Shapes(1).ThreeD _ 
 .ResetRotation