ArcGIS Pro 3.2 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

In This Topic
    GetPixelValue Method
    In This Topic
    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 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also