Edit

Share via


ShapeRange.IncrementRotation(Single) Method

Definition

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

public:
 void IncrementRotation(float Increment);
public void IncrementRotation (float Increment);
abstract member IncrementRotation : single -> unit
Public Sub IncrementRotation (Increment As Single)

Parameters

Increment
Single

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(Single) method or the IncrementRotationY(Single) method.

Applies to