ArcGIS Pro 3.7 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 Function GetTopLeft() As Tuple(Of Integer,Integer)
    public Tuple<int,int> GetTopLeft()

    Return Value

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

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also