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




Event arguments for a Tool with its ClientAction set to Line.

Object Model




Syntax

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

Remarks

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

The MapLineEventArgs will contain the two end points where the user clicked. This line may be used to do action on the server, such as querying the map or drawing graphics on the map.

Inheritance Hierarchy

System.Object
   System.EventArgs
      ESRI.ArcGIS.ADF.Web.UI.WebControls.ToolEventArgs
         ESRI.ArcGIS.ADF.Web.UI.WebControls.LineEventArgs
            ESRI.ArcGIS.ADF.Web.UI.WebControls.MapLineEventArgs

See Also

© 2010 All Rights Reserved.