This document is archived and information here might be outdated.  Recommended version.


IMapControl2.TrackCancel Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Controls)  

IMapControl2.TrackCancel Property

The object used by the MapControl to check if drawing has been aborted.

[Visual Basic .NET]
Public Property TrackCancel As ITrackCancel
[C#]
public ITrackCancel TrackCancel {get; set;}
[C++]
HRESULT get_TrackCancel(
void
);
[C++]
HRESULT putref_TrackCancel(
);

Product Availability

Available with ArcGIS Engine.

Description

Use the TrackCancel object to enable users to stop drawing processes by using the escape or spacebar keys.

See Also

IMapControl2 Interface