|ArcGIS Explorer Component Help|
|MapDisplay..::.TrackPolyline Method (Color, Double)|
|MapDisplay Class See Also|
Assembly: ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 188.8.131.520 (184.108.40.2060)
|Visual Basic (Declaration)|
- Type: System.Drawing..::.Color
The color of the partially completed line shown during the tracking operation.
- Type: System..::.Double
The width in pixels of the partially completed line shown during the tracking operation. Default is 1, maximum is 10.
Return ValueA new Polyline defined by a series of mouse clicks on the display.
This method returns a user-clicked Polyline on the map, using the specified line color and width while tracking.
This method will block the user interface (UI) thread until the user has completed tracking the Polyline. 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 themethods.