Occurs when the user draws a rectangle on the Map.


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

Syntax

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

/** event */
public final void remove_RectangleTool(RectangleToolEventHandler 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 RectangleToolEventArgs containing data related to this event. The following RectangleToolEventArgs properties provide information specific to this event.

PropertyDescription
ArgumentReturns the argument of the tool.
RectangleReturns the rectangle that the user drew on the map.

See Also