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


IBinFunction2.ValueToIndex Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IBinFunction2.ValueToIndex Method

Converts pixel values to columns in the descriptor table.

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

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

Product Availability

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

See Also

IBinFunction2 Interface