Rotation Property

The Rotation property sets the rotation, in degrees, of an object.

Syntax

object.Rotation = Rotation

 

Parameter Type Description
Rotation Double required, rotation in degrees

 

Remarks

Positive degrees rotate the shape counterclockwise, negative degrees rotate the shape clockwise. Use View3D to rotate 3D graphs.

Example

This example shows how to rotate an ellipse.

Ellipse.Rotation = -45

 

Used by: AutoShape object