CenterOfRotation Property

Specifies the point about which an object is rotated.

Syntax

object.CenterOfRotation [= Object]

Properties

The CenterOfRotation property syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

Object

Specifies the point about which to rotate.

Remarks

The Object is a point of type FixFloatPoint.

An example of how to set the CenterOfRotation property for a Rectangle to (10, 20) would be:

Dim Point As Object
Set Point = New FixFloatPoint

Point.X = 10
Point.Y = 20
Rect1.CenterOfRotation = Point

 

Applies To