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


IImageServiceInfo.GetStatistics Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IImageServiceInfo.GetStatistics Method

Gets the statistics of a given band.

[Visual Basic .NET]
Public Sub GetStatistics ( _
    ByVal iBand As Integer, _
    ByRef pMin As Double, _
    ByRef pMax As Double, _
    ByRef pMean As Double, _
    ByRef pStdv As Double _
)
[C#]
public void GetStatistics (
    int iBand,
    ref double pMin,
    ref double pMax,
    ref double pMean,
    ref double pStdv
);
[C++]
HRESULT GetStatistics(
  long iBand,
  System.Double* pMin,
  System.Double* pMax,
  System.Double* pMean,
  System.Double* pStdv
);
[C++]

Parameters iBand [in]
iBand is a parameter of type long pMin [out]
pMin is a parameter of type double* pMax [out]
pMax is a parameter of type double* pMean [out]
pMean is a parameter of type double* pStdv [out]
pStdv is a parameter of type double*

Product Availability

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

See Also

IImageServiceInfo Interface