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


ILasDatasetEdit.CalculateStatistics Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GeodatabaseExtensions > ESRI.ArcGIS.GeoDatabaseExtensions > Interfaces > IL > ILasDatasetEdit Interface > ILasDatasetEdit.CalculateStatistics Method
ArcGIS Developer Help

ILasDatasetEdit.CalculateStatistics Method

Calculate statistics of the entire dataset.

[Visual Basic .NET]
Public Sub CalculateStatistics ( _
    ByVal pTrackCancel As ITrackCancel, _
    ByVal bForce As Boolean, _
    ByRef ppBadFiles As ILongArray _
)
[C#]
public void CalculateStatistics (
    ITrackCancel pTrackCancel,
    bool bForce,
    ref ILongArray ppBadFiles
);
[C++]
HRESULT CalculateStatistics(
  ITrackCancel* pTrackCancel,
  VARIANT_BOOL bForce,
  ILongArray** ppBadFiles
);
[C++]
Parameters
pTrackCancel [in]

pTrackCancel is a parameter of type ITrackCancel* bForce [in]
bForce is a parameter of type bool ppBadFiles [out]
ppBadFiles is a parameter of type ILongArray**

Product Availability

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

Description

Computes the statistics for the las dataset.

pTrackCancel is a reference to a Cancel Tracker object that can be used to monitor progress and/or cancel the process. This can be set to a NULL pointer ('Nothing' in VB) if desired.

bForce, if set to false, statistics are computed only for the las files that have outdated or no statistics. Setting it true forces a re-compute of the statistics for all the las files.
ppBadFiles is the list of files for which the statistics computation has failed.

See Also

ILasDatasetEdit Interface