ArcGIS Pro 2.8 API Reference Guide
GetPixelValue Method

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
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
)
Public Function GetPixelValue( _
   ByVal band As Integer, _
   ByVal column As Integer, _
   ByVal row As Integer _
) As Object

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 10, Windows 8.1

See Also

Reference

Raster Class
Raster Members