A synchronous (blocking) call which executes the specified delegate and returns a new Point at the location of the next mouse click on the display.

Namespace:  ESRI.ArcGISExplorer.Mapping

Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)

Syntax

C#
public Point TrackPoint(
	TrackDelegate trackDelegate
)
Visual Basic (Declaration)
Public Function TrackPoint ( _
	trackDelegate As TrackDelegate _
) As Point

Parameters

trackDelegate
Type: ESRI.ArcGISExplorer.Mapping..::.TrackDelegate

A tracking delegate that contains a method to be called when the user interacts with the display.

Return Value

A new Point defined by a mouse click on the display.

Remarks

This method returns a user-clicked location on the map. The TrackDelegate allows mouse moves and tracking cancellation to be identified. This overload allows the same TrackDelegate method to be called from both this synchronous method and also the asynchronous MapDisplay.BeginTrackPoint(TrackDelegate) method.

This method will block the user interface (UI) thread until the user has clicked on the display.

Alternatively you may wish to use an asynchronous equivalent, see the BeginTrackPoint methods.

See Also