Share via


ShapeRange.IncrementRotation Method

Word Developer Reference

Changes the rotation of the specified shape around the z-axis by the specified number of degrees. .

Syntax

expression.IncrementRotation(Increment)

expression   Required. A variable that represents a ShapeRange object.

Parameters

Name Required/Optional Data Type Description
Increment Required Single Specifies how far the shape is to be rotated horizontally, in degrees. A positive value rotates the shape clockwise; a negative value rotates it counterclockwise.

Remarks

Use the Rotation property to set the absolute rotation of the shape. To rotate a three-dimensional shape around the x-axis or the y-axis, use the IncrementRotationX or IncrementRotationY method of the ThreeDFormat.

See Also