ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Data.Raster Namespace / Raster Class / GetPixelValue Method
Index of a band from this raster
Column from the given band
Row from the given band
Version

GetPixelValue Method
Gets the pixel value for the given band, row and column from this raster. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public object GetPixelValue( 
   int band,
   int column,
   int row
)

Parameters

band
Index of a band from this raster
column
Column from the given band
row
Row from the given band

Return Value

An object representing the pixel value for the given pixel.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also