A synchronous (blocking) call on the display, returning a new Polygon representing a circle at the location of two of two mouse clicks on the display, using the specified
line color while tracking.
Namespace:
ESRI.ArcGISExplorer.MappingAssembly: ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
C# |
---|
public Polygon TrackCircle( Color color ) |
Visual Basic (Declaration) |
---|
Public Function TrackCircle ( _ color As Color _ ) As Polygon |
Parameters
- color
- Type: System.Drawing..::.Color
The color of the partially completed line shown during the tracking operation.
Return Value
A new Polygon (representing a circle) defined by two mouse clicks.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 BeginTrackCirle methods.
Version Information: This method is supported from version 2.0.0.1500.