Occurs when the user draws a line on the Map.


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

Syntax

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

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

PropertyDescription
ArgumentReturns the argument of the tool.
LineReturns the line that the user drew on the map.

See Also