Occurs when the user draws a polygon on the Map.


Namespace: AspMap.Web
Assembly: AspMapNET (in AspMapNET.dll)

Syntax

Visual Basic (Declaration)
Public Event PolygonTool As PolygonToolEventHandler 
C#
public event PolygonToolEventHandler PolygonTool
C++
public:
 virtual event PolygonToolEventHandler PolygonTool {
    void add(PolygonToolEventHandler value) sealed ;
    void remove(PolygonToolEventHandler value) sealed ;
}
J#
/** event */
public final void add_PolygonTool(PolygonToolEventHandler value);

/** event */
public final void remove_PolygonTool(PolygonToolEventHandler value);
JScript
JScript suports the use of events, but not the declaration of new ones.

Event Data

The event handler receives an argument of type PolygonToolEventArgs containing data related to this event. The following PolygonToolEventArgs properties provide information specific to this event.

PropertyDescription
ArgumentReturns the argument of the tool.
PolygonReturns the polygon that the user drew on the map.

See Also