ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Core.Data.Raster Namespace / RasterCursor Class / GetTopLeft Method

In This Topic
    GetTopLeft Method
    In This Topic
    Gets the x and y offsets (in pixels) of the top left corner of the current PixelBlock. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public Tuple<int,int> GetTopLeft()
    Public Function GetTopLeft() As Tuple(Of Integer,Integer)

    Return Value

    A tuple containing two integer values representing the top left corner x offset and y offset respectively.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also