Occurs when the user has finished measuring distances.


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

Syntax

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

/** event */
public final void remove_DistanceToolFinished(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