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


IRasterColormap.Bin Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IRasterColormap.Bin Method

Translates pixel values into integers to index them into the colormap.

[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

IRasterColormap Interface