ESRI.ArcGIS.ADF.Web.UI.WebControls
PolygonEventArgs Class
Members  See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace : PolygonEventArgs Class




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

Object Model

PolygonEventArgs Class

Syntax

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

Remarks

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

The PolygonEventArgs will contain the points where the user clicked in its Vectors property (a Point array). The polygon may be used to do action on the server, such as querying the map or drawing graphics on the map. Note that the polygon's points are in screen pixels, and may need to be converted to map coordinates before using them for actions on the map.

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.