Occurs when the user draws a polyline on the Map.


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

Syntax

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

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

PropertyDescription
ArgumentReturns the argument of the tool.
PolylineReturns the polyline that the user drew on the map.

See Also