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


IRasterInfo2.Histogram Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IRasterInfo2.Histogram Property

The histogram of a given band.

[Visual Basic .NET]
Public Function get_Histogram ( _
    ByVal iBand As Integer _
) As IRasterHistogram
[Visual Basic .NET]
Public Sub set_Histogram ( _
    ByVal iBand As Integer, _
    ByVal ppHistogram As IRasterHistogram _
)
[C#]
public IRasterHistogram get_Histogram (
    int iBand
);
[C#]
public void set_Histogram (
    int iBand,
    IRasterHistogram ppHistogram
);
[C++]
HRESULT get_Histogram(
  long iBand,
  IRasterHistogram** ppHistogram
);
[C++]
HRESULT putref_Histogram(
  long iBand,
  IRasterHistogram* ppHistogram
);
[C++]

Parameters iBand [in] iBand is a parameter of type long ppHistogram [out, retval]
ppHistogram is a parameter of type IRasterHistogram iBand [in] iBand is a parameter of type long ppHistogram [in]
ppHistogram is a parameter of type IRasterHistogram

Product Availability

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

See Also

IRasterInfo2 Interface