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


IBufferProgress.OnStepCompleted Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geometry)  

IBufferProgress.OnStepCompleted Method

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

Product Availability

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

Remarks

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.

See Also

IBufferProgress Interface