|
UserOsnap (Event)
This occurs when value UserOSnap_c is given to Command property and user clicks on an object while adding a new one.
Syntax:
Private Sub object_UserOsnap(Sender As System.Object, e As UserOsnapEventArgs)
The UserOsnap event syntax has the following parts:
Argument
|
Data Type
|
Description
|
Sender
|
System.Object
|
Is the object that raises the event
|
e.SelectedHandle
|
Integer
|
A numeric expression that identifies the handle of the object the user clicks on
|
e.selx1m
|
Single
|
Is the x coordinate of the first point of the object the user clicks on
|
e.sely1m
|
Single
|
Is the y coordinate of the first point of the object the user clicks on
|
e.selx2m
|
Single
|
Is the x coordinate of the second point of the object the user clicks on
|
e.sely2m
|
Single
|
Is the y coordinate of the second point of the object the user clicks on
|
e.NewX
|
Single
|
Is the x coordinate of the snap point the user sets
|
e.NewY
|
Single
|
Is the y coordinate of the snap point the user sets
|
e.fNoResult
|
Boolean
|
If set true then the NewX and NewY are ignored
|
Example
|