Rotate - Automation

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

Syntax

object.Rotate( Angle )

Parameter

Type

Required/

Optional

Default

Description

Angle

Double

Required

This provides the angle in degree, positive value indicates counterclockwise rotation and negative value indicates clockwise rotation.

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