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


IRasterHistogram.Bin Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IRasterHistogram.Bin Method

Translates pixel values to integer Bin index.

[Visual Basic .NET]
Public Function Bin ( _
    ByVal pixval As Double _
) As Integer
[C#]
public int Bin (
    double pixval
);
[C++]
HRESULT Bin(
  double pixval,
  long* Bin
);
[C++]

Parameters pixval [in] pixval is a parameter of type double Bin [out, retval] Bin is a parameter of type long

Product Availability

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

See Also

IRasterHistogram Interface