A raster cursor class.

Supported Platforms

Windows, Solaris, Linux


Interfaces Description
IRasterCursor (esriGeoDatabase) Provides access to members that provide optimized raster access.


TheRasterCursor object is used for iterating through all of the pixel blocks in a raster. It is useful for rasters that are too large to be brought into memory at once.

IRaster::CreateCursor or IRaster2::CreateCursorEx can be used to create a RasterCursor .

The IRaster::CreateCursor divides the Raster into blocks of 128 pixels high (rows) that span the full width of the raster. Each successive pixel block is read 128 lines below the previous pixel block. IRaster2::CreateCursorEx divides the Raster with your specified block size.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.