This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRaster2 Interface > IRaster2.GetPixelValue Method (ArcObjects .NET 10.4 SDK) |
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,
VARIANT* pPixelValue
);
[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 pPixelValue [out, retval] pPixelValue is a parameter of type VARIANT