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


IMapControl2.TrackCancel Property (ArcObjects .NET 10.4 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(
  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

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