A synchronous (blocking) call which returns a new Point at the location of the next mouse click on the display and allows the visual effect to be controlled.

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(
	DisplayEffect displayEffect
)
Visual Basic (Declaration)
Public Function TrackPoint ( _
	displayEffect As DisplayEffect _
) As Point

Parameters

displayEffect
Type: ESRI.ArcGISExplorer.Mapping..::.DisplayEffect

One of the DisplayEffect values which determines the visual effect at the clicked location.

Return Value

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

Remarks

This method will block the user interface (UI) thread until the user has clicked on the display. The method can be cancelled if the ESC key is pressed after the method has been called or the CancelTracking()()() method is called; in this case the method will return nullNothingnullptra null reference (Nothing in Visual Basic).

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

Version Information: This method is supported from version 2.0.0.1500.

See Also