Fired when a component is selected.
.NET Syntax
Visual Basic (Declaration) | |
---|
Public Delegate Sub _IEModelViewControlEvents_OnComponentSelectionNotifyEventHandler( _
ByVal ComponentName As String, _
ByVal XCoordinate As Integer, _
ByVal YCoordinate As Integer _
) |
Visual Basic (Usage) | |
---|
Dim instance As New _IEModelViewControlEvents_OnComponentSelectionNotifyEventHandler(AddressOf HandlerMethod)
|
Parameters
- ComponentName
- Component name
- XCoordinate
x coordinate of the cursor
- YCoordinate
y coordinate of the cursor
Example
VB.NET example:
Private Sub AxEModelViewControl1_OnComponentSelectionNotify(ByVal sender As System.Object, ByVal e As AxEModelView._IEModelViewControlEvents_OnComponentSelectionNotifyEvent) Handles AxEModelViewControl1.OnComponentSelectionNotify
'' Access the event arguments
e.ComponentName
e.XCoordinate
e.YCoordinate
End Sub
Availability
SolidWorks eDrawings API 2005 SP0