This document is archived and information here might be outdated. Recommended version. |
Rubber-bands a circle on the MapControl.
[Visual Basic .NET] Public Function TrackCircle ( _ ) As IGeometry
[C#] public IGeometry TrackCircle ( );
[C++]
HRESULT TrackCircle(
void
);
TrackCircle returns a geometry object that implements IPolygon.
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.
IMapControl3 Interface | IMapControl2.TrackLine Method | IMapControl3.TrackLine Method | IMapControl4.TrackLine Method | IMapControl4.TrackPolygon Method | IMapControl2.TrackPolygon Method | IMapControl3.TrackPolygon Method | IMapControl3.TrackRectangle Method | IMapControl4.TrackRectangle Method | IMapControl2.TrackRectangle Method