|
BeforeRotate (Event)
This event occurs before some objects are rotated with a rotation center point and a rotation angle
Syntax:
Private Sub object_BeforeRotate(Sender As System.Object, e As BeforeRotateEventArgs)
The BeforeRotate event syntax has the following parts:
Argument
|
Data Type
|
Description
|
Sender
|
System.Object
|
Is the object that raises the event
|
e.lHandles()
|
Integer
|
The handles of the objects to be rotate
|
e.RotAngle
|
Single
|
Is the rotation angle
|
e.rx
|
Single
|
Is the coordinate x of the rotation center point
|
e.ry
|
Single
|
Is the coordinate y of the rotation center point
|
e.fCancel
|
Boolean
|
A Boolean expression that if it is True then this event is canceled
|
Example
|