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


IRasterInfo2.Statistics Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IRasterInfo2.Statistics Property

The statistics of a given band.

[Visual Basic .NET]
Public Function get_Statistics ( _
    ByVal iBand As Integer _
) As IRasterStatistics
[Visual Basic .NET]
Public Sub set_Statistics ( _
    ByVal iBand As Integer, _
    ByVal ppStats As IRasterStatistics _
)
[C#]
public IRasterStatistics get_Statistics (
    int iBand
);
[C#]
public void set_Statistics (
    int iBand,
    IRasterStatistics ppStats
);
[C++]
HRESULT get_Statistics(
  long iBand,
  IRasterStatistics** ppStats
);
[C++]
HRESULT putref_Statistics(
  long iBand,
  IRasterStatistics* ppStats
);
[C++]

Parameters iBand [in] iBand is a parameter of type long ppStats [out, retval]
ppStats is a parameter of type IRasterStatistics iBand [in] iBand is a parameter of type long ppStats [in]
ppStats is a parameter of type IRasterStatistics

Product Availability

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

See Also

IRasterInfo2 Interface