ArcGIS Explorer Component Help |
MapDisplay..::.TrackPoint Method (TrackDelegate, DisplayEffect) |
MapDisplay Class See Also |
A synchronous (blocking) call which executes the specified delegate, 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.MappingAssembly: ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
C# |
---|
public Point TrackPoint( TrackDelegate trackDelegate, DisplayEffect displayEffect ) |
Visual Basic (Declaration) |
---|
Public Function TrackPoint ( _ trackDelegate As TrackDelegate, _ displayEffect As DisplayEffect _ ) 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.
- 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 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.
Version Information: This method is supported from version 2.0.0.1500.