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


IRaster2.GetPixelValue Method (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRaster2 Interface > IRaster2.GetPixelValue Method
ArcGIS Developer Help

IRaster2.GetPixelValue Method

Gets the pixel value for a given band at a given column and row.

[Visual Basic .NET]
Public Function GetPixelValue ( _
    ByVal iBand As Integer, _
    ByVal iColumn As Integer, _
    ByVal iRow As Integer _
) As Object
[C#]
public object GetPixelValue (
    int iBand,
    int iColumn,
    int iRow
);
[C++]
HRESULT GetPixelValue(
  long iBand,
  long iColumn,
  long iRow
);
[C++]
Parameters
iBand [in]

iBand is a parameter of type long iColumn [in]
iColumn is a parameter of type long iRow [in]
iRow is a parameter of type long

Product Availability

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

See Also

IRaster2 Interface