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




Event arguments for a Tool when its ClientAction is set to Oval.

Object Model




Syntax

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

Remarks

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

The OvalEventArgs will contain the center point, width and height that defines the oval (ellipse) drawn by the user. This oval may be used to do action on the server, such as querying the map or zooming the map. Note the coordinates and distances of the oval are in screen pixels, and may need to be converted to map coordinates before using the rectangle.

Inheritance Hierarchy

System.Object
   System.EventArgs
      ESRI.ArcGIS.ADF.Web.UI.WebControls.ToolEventArgs
         ESRI.ArcGIS.ADF.Web.UI.WebControls.OvalEventArgs
            ESRI.ArcGIS.ADF.Web.UI.WebControls.MapOvalEventArgs

See Also

© 2010 All Rights Reserved.