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


IRasterCalcStatsHistogram.ComputeFromRaster Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IRasterCalcStatsHistogram.ComputeFromRaster Method

Computes stats and histogram from a given Raster.

[Visual Basic .NET]
Public Sub ComputeFromRaster ( _
    ByVal pRaster As IRaster, _
    ByVal iBand As Integer, _
    ByVal pStatsHistogram As IStatsHistogram _
)
[C#]
public void ComputeFromRaster (
    IRaster pRaster,
    int iBand,
    IStatsHistogram pStatsHistogram
);
[C++]
HRESULT ComputeFromRaster(
  IRaster* pRaster,
  long iBand,
  IStatsHistogram* pStatsHistogram
);
[C++]

Parameters pRaster [in]
pRaster is a parameter of type IRaster iBand [in] iBand is a parameter of type long pStatsHistogram [in]
pStatsHistogram is a parameter of type IStatsHistogram

Product Availability

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

See Also

IRasterCalcStatsHistogram Interface