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


ITinAdvanced.ProcessCancelled Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

ITinAdvanced.ProcessCancelled Property

Indicates if a process has been cancelled.

[Visual Basic .NET]
Public Property ProcessCancelled As Boolean
[C#]
public bool ProcessCancelled {get; set;}
[C++]
HRESULT get_ProcessCancelled(
  VARIANT_BOOL* pbCancelled
);
[C++]
HRESULT put_ProcessCancelled(
  VARIANT_BOOL pbCancelled
);
[C++]

Parameters pbCancelled [out, retval] pbCancelled is a parameter of type VARIANT_BOOL pbCancelled [in] pbCancelled is a parameter of type VARIANT_BOOL

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

If the TIN has its TrackCancel property set, and one of the following functions is cancelled (e.g. by user pressing Esc), this property will return TRUE.

ITinAdvanced.ConvertToPolygons
ISurface.AsPolygons
ISurface.Contour
ISurface.ContourList
ISurface.GetProjectedArea
ISurface.GetSurfaceArea
ISurface.GetVolume
ISurface.QueryPixelBlock
ITinEdit.AddFromFeatureClass
ITinEdit.AddFromFeatureCursor
ITinEdit.AddFromPixelBlock
ITinNodeCollection.ConvertToVoronoiRegions

Custom functions that pay attention to TrackCancel can write to the ProcessCancelled property to indicate whether or not the function was cancelled. This is something that should be considered when developing custom functions that can run on for some time and where a user might be inclined to cancel the operation.

See Also

ITinAdvanced Interface