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

IRasterCalcStatsHistogram.ComputeFromRaster Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterCalcStatsHistogram Interface > IRasterCalcStatsHistogram.ComputeFromRaster Method
ArcGIS Developer Help

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 _
public void ComputeFromRaster (
    IRaster pRaster,
    int iBand,
    IStatsHistogram pStatsHistogram
HRESULT ComputeFromRaster(
  IRaster* pRaster,
  long iBand,
  IStatsHistogram* pStatsHistogram
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