ArcObjects Library Reference (Controls)  

IMapControlDefault.TrackCircle Method

Rubber-bands a circle on the MapControl.

ERROR: Syntax information about IMapControlDefault.TrackCircle may not be in D:\ArcGIS\DotNet\ESRI.ArcGIS.Controls.dll

[C++]
HRESULT TrackCircle(
  IGeometry** circle
);
[C++]

Parameters

circle [out, retval]

  circle is a parameter of type IGeometry

Product Availability

Available with ArcGIS Engine.

Description

TrackCircle returns a geometry object that implements IPolygon.

Remarks

Use the TrackCircle method within the IMapControlEvents2::OnMouseDown event to rubberband a user defined Circle. The IMapControlEvents2::OnMouseMove event will be triggered during the track, but no IMapControlEvents2::OnMouseUp event will occur. The ESC key on the keyboard can be used during the track to cancel the TrackCircle.

See Also

IMapControlDefault Interface | IMapControl4.TrackLine Method | IMapControlDefault.TrackLine Method | IMapControl3.TrackLine Method | IMapControlDefault.TrackPolygon Method | IMapControl3.TrackPolygon Method | IMapControl4.TrackPolygon Method | IMapControl3.TrackRectangle Method | IMapControl4.TrackRectangle Method | IMapControlDefault.TrackRectangle Method