UserOsnap
EventUserOsnap (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 |
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 |
The x coordinate of the first point of the object the user clicks on |
e.sely1m |
Single |
The y coordinate of the first point of the object the user clicks on |
e.selx2m |
Single |
The x coordinate of the second point of the object the user clicks on |
e.sely2m |
Single |
The y coordinate of the second point of the object the user clicks on |
e.NewX |
Single |
The x coordinate of the snap point the user sets |
e.NewY |
Single |
The y coordinate of the snap point the user sets |
e.fNoResult |
Boolean |
If set true then the NewX and NewY are ignored |