ESRI.ArcGIS.ADF.Web.UI.WebControls
PointEventArgs Class
Members  See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace : PointEventArgs Class




Event arguments for a tool with a ClientAction set to point or a click.

Object Model


Syntax

Visual Basic (Declaration) 
Public Class PointEventArgs 
   Inherits ToolEventArgs
Visual Basic (Usage)Copy Code
Dim instance As PointEventArgs
C# 
public class PointEventArgs : ToolEventArgs 

Remarks

An instance of this class is created when a Tool has its ClientAction set to Point, the user clicks on the Map or PageLayout, and the Tool's ServerActionClass is set to a class that implements IMapServerToolAction. The PointEventArgs object is passed as the argument to the ServerAction method.

The PointEventArgs will contain the ScreenPoint where the user clicked. This point may be used to do action on the server, such as querying the map or zooming to the location. Note this point is in screen pixels, and may need to be converted to map coordinates for use with map querying.

Inheritance Hierarchy

System.Object
   System.EventArgs
      ESRI.ArcGIS.ADF.Web.UI.WebControls.ToolEventArgs
         ESRI.ArcGIS.ADF.Web.UI.WebControls.PointEventArgs
            ESRI.ArcGIS.ADF.Web.UI.WebControls.MapPointEventArgs

See Also

© 2010 All Rights Reserved.