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


ITrackCancel.Progressor Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IT > ITrackCancel Interface > ITrackCancel.Progressor Property
ArcGIS Developer Help

ITrackCancel.Progressor Property

The progressor used to show progress during lengthy operations.

[Visual Basic .NET]
Public Property Progressor As IProgressor
[C#]
public IProgressor Progressor {get; set;}
[C++]
HRESULT get_Progressor(
  IProgressor* Progressor
);
[C++]
HRESULT put_Progressor(
  IProgressor** Progressor
);
[C++]
Parameters
Progressor [in]

Progressor is a parameter of type IProgressor* Progressor [out, retval]
Progressor is a parameter of type IProgressor**

Product Availability

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

Description

Use the Progressor property to bind the CancelTracker with a progress object (for example, a progress bar, a progress dialog or a progress animation) that displays the progress of the lengthy operation. Once the Progressor has been set it will be updated automatically as the operation is executed.

Remarks

If the progressor is a step progressor, the MaxRange should be set to equal the number of iterations that the operation will progress through; this number should also match the number of times Continue will be called in the operation�s innermost loop.

See Also

ITrackCancel Interface