|
BeforeScale (Event)
This event occurs before some objects are scaled with a scale base point and a scale magnifying factor
Syntax:
Private Sub object_BeforeScale(Sender As System.Object, e As BeforeScaleEventArgs)
The BeforeScale 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 scaled
|
e.ScaleX
|
Single
|
Is the scale magnifying factor for the x coordinate
|
e.ScaleY
|
Single
|
Is the scale magnifying factor for the y coordinate
|
e.sx
|
Single
|
Is the coordinate x of the scale base point
|
e.sY
|
Single
|
Is the coordinate y of the scale base point
|
e.fCancel
|
Boolean
|
A Boolean expression that if it is True then this event is canceled
|
Example
|