This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IB > IBufferProgress Interface > IBufferProgress.OnStepCompleted Method (ArcObjects .NET 10.4 SDK) |
Called periodically to report number of steps completed in current stage.
[Visual Basic .NET] Public Function OnStepCompleted ( _ ByVal stepsCompleted As Integer, _ ByVal numSteps As Integer _ ) As Boolean
[C#] public bool OnStepCompleted ( int stepsCompleted, int numSteps );
[C++]
HRESULT OnStepCompleted(
long stepsCompleted,
long numSteps,
VARIANT_BOOL* pbContinue
);
[C++]
Parameters stepsCompleted stepsCompleted is a parameter of type long numSteps numSteps is a parameter of type long pbContinue [out, retval] pbContinue is a parameter of type VARIANT_BOOL
This method is called by the BufferConstruction object after a buffer has been generated for a geometry. Refer to IBufferProgress for an overview of progress reporting and definitions of the terms 'operation', 'stage' and 'step'. You can return true to indicate that buffering should continue or false to terminate the call to ConstructBuffers, ConstructBuffersByDistances, or ConstructBuffersByDistances2.