Rotate - Automation

 

The Rotate method rotates the selected objects by the specified number of degrees.

 

Syntax

object.Rotate( Angle )

 

Parameter

Type

Description

Angle

Double

required; in degrees

Group

Boolean

optional; true to rotate around the group pivot point

 

Remarks

Positive degrees rotate the selection counterclockwise, negative degrees rotate the selection clockwise.

 

Example

This example demonstrates how to rotate a selection 60 degrees counterclockwise.

 

Selection.Rotate(Angle:=60)

 

Used by: Selection collection