ArcGIS Pro 2.9 API Reference Guide
CreateCursor Method

ArcGIS.Core.Data.Raster Namespace > Raster Class : CreateCursor Method
Width of the pixel block in the raster cursor.
Height of the pixel block in the raster cursor.
Create a RasterCursor for optimized access to raster pixels. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public RasterCursor CreateCursor( 
   int blockWidth,
   int blockHeight
)
Public Function CreateCursor( _
   ByVal blockWidth As Integer, _
   ByVal blockHeight As Integer _
) As RasterCursor

Parameters

blockWidth
Width of the pixel block in the raster cursor.
blockHeight
Height of the pixel block in the raster cursor.

Return Value

The RasterCursor for optimized access to raster pixels.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

Raster Class
Raster Members