ESRI.ArcGIS.ADF.Web.UI.WebControls
MapPointEventArgs Constructor(Map,String,Double,Double)
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > MapPointEventArgs Class > MapPointEventArgs Constructor : MapPointEventArgs Constructor(Map,String,Double,Double)




sender
The control raising this event.
toolName
The name of the tool or tool item that caused this event.
X
The X coordinate of the click in map coordinates.
Y
The Y coordinate of the click in map coordinates.
Constructor.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal sender As Map, _
   ByVal toolName As String, _
   ByVal X As Double, _
   ByVal Y As Double _
)
Visual Basic (Usage)Copy Code
Dim sender As Map
Dim toolName As String
Dim X As Double
Dim Y As Double
 
Dim instance As New MapPointEventArgs(sender, toolName, X, Y)
C# 
public MapPointEventArgs( 
   Map sender,
   string toolName,
   double X,
   double Y
)

Parameters

sender
The control raising this event.
toolName
The name of the tool or tool item that caused this event.
X
The X coordinate of the click in map coordinates.
Y
The Y coordinate of the click in map coordinates.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.