ArcGIS Explorer Component Help |
MapDisplay..::.BeginTrackMoveGeometry Method (TrackDelegate, Geometry, Color, Double) |
MapDisplay Class See Also |
An asynchronous method call which executes the specified delegate and begins an operation to
move the specified geometry to a new location following a single click on the display. The tracked
geoemtry will have the specified color and line width (where appropriate).
Namespace:
ESRI.ArcGISExplorer.MappingAssembly: ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
C# |
---|
public void BeginTrackMoveGeometry( TrackDelegate trackDelegate, Geometry geometry, Color color, double width ) |
Visual Basic (Declaration) |
---|
Public Sub BeginTrackMoveGeometry ( _ trackDelegate As TrackDelegate, _ geometry As Geometry, _ color As Color, _ width As Double _ ) |
Parameters
- trackDelegate
- Type: ESRI.ArcGISExplorer.Mapping..::.TrackDelegate
A tracking delegate that contains a method to be called when the user interacts with the display.
- geometry
- Type: ESRI.ArcGISExplorer.Geometry..::.Geometry
The Geometry to be moved.
- color
- Type: System.Drawing..::.Color
The color of the tracked Geometry while it is being moved.
- width
- Type: System..::.Double
The width in pixels of the tracked line shown during the tracking operation. Default is 1, maximum is 10. Note it does not apply if the tracked geometry is a Point.
Remarks
The BeginTrackMoveGeometry method calls a delegate which allows a geometry to be returned which represents the translated location of the specified geometry. The TrackDelegate allows mouse moves and tracking cancellation to be identified. The tracked Envelope is available from the Geometry passed to the delegate.
This asynchronous method will return immediately, allowing the user interface (UI) thread to continue working. After this method is called, the trackDelegate method will be called when the user interacts with the display.
Version Information: This method is supported from version 2.0.0.1500.