AutoOSnapType

Top  Previous  Next

 

AutoOSnapType (Event)

 

This occurs when non user OSnap occurs

 

Syntax:

Private Sub object_AutoOSnapType(Sender As System.Object, e As AutoOSnapTypeEventArgs)

 

The AutoOSnapType event syntax has the following parts:

Argument

Data Type

Description

Sender

System.Object

Is the object that raises the event

e.OSnapType

AvaxOSnapType

Is the type of the OSnap that took place

e.x

Single

Is the x coordinate of the point that OSnap took place

e.y

Single

Is the y coordinate of the point that OSnap took place

e.fCancel

Boolean

If set true then no OSnap happens

 

Example