OnAnalysisProgress

This event indicates to the client the current status of the terrain analysis calculations.

Note:    In the current version, only the MeasureTerrainArea and MeasureTerrainPerimeter analyses report progress.

 

JavaScript

 

OnAnalysisProgress(

       CurrPos,

       Range)

 

C#

 

bool OnAnalysisProgress(

       int CurrPos,

       int Range)

 

C++

 

HRESULT OnAnalysisProgress(

       [in] long CurrPos,

       [in] long Range,

       [out, retval] VARIANT_BOOL* pbCancelled)

Parameters

CurrPos

The portion of the analysis calculations that was already performed.

Range

The entire analysis process.

Return Value

pbCancelled

A Boolean that indicates whether to cancel the analysis process. Returning TRUE cancels the process, while FALSE lets it continue.