This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IM > IMapControl2 Interface > IMapControl2.TrackCancel Property (ArcObjects .NET 10.4 SDK) |
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(
ITrackCancel** ppTrackCancel
);
[C++]
HRESULT putref_TrackCancel(
ITrackCancel* ppTrackCancel
);
[C++]
Parameters ppTrackCancel [out, retval]
ppTrackCancel is a parameter of type ITrackCancel ppTrackCancel [in]
ppTrackCancel is a parameter of type ITrackCancel
Use the TrackCancel object to enable users to stop drawing processes by using the escape or spacebar keys.