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


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

IRasterClassNames.Bin Method

Converts pixels to indices.

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

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

Product Availability

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

See Also

IRasterClassNames Interface