An asynchronous method call which executes the specified delegate and begins an operation to create a new Polyline at the location of a series of mouse clicks on the display, using the specified line color while tracking.

Namespace:  ESRI.ArcGISExplorer.Mapping
Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.900 (2.0.0.900)

Syntax

C#
public void BeginTrackPolyline(
	TrackDelegate trackDelegate,
	Color color
)
Visual Basic (Declaration)
Public Sub BeginTrackPolyline ( _
	trackDelegate As TrackDelegate, _
	color As Color _
)

Parameters

trackDelegate
Type: ESRI.ArcGISExplorer.Mapping..::.TrackDelegate
A tracking delegate that contains a method to be called when the user interacts with the display.
color
Type: System.Drawing..::.Color
The color of the partially completed line shown during the tracking operation.

Remarks

The BeginTrackPolyline method calls a delegate which allows returning a user-clicked Polyline on the map. The TrackDelegate allows mouse moves and tracking cancellation to be identified. The tracked Polyline 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.

See Also

Relate Topics:
  BeginTrackPolyline Method (TrackDelegate)
  BeginTrackPolyline Method (TrackDelegate, Color, Double)
Created by Atop CHM to web converter,© 2009 all right reserved.