Occurs when the user measures a distance on the Map.


Namespace: ActualMap.Windows
Assembly: ActualMap (in ActualMap.dll)

Syntax

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

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

PropertyDescription
DistanceReturns the distance in map units.
PolylineReturns the polyline that the user drew on the map.

See Also