ArcGIS Enterprise SDK
IRasterCursor Interface
ArcGIS Enterprise SDK Developer Help > ArcGIS Enterprise SDK API Reference > ArcGIS Enterprise SDK .NET Namespaces > ESRI.Server.GeoDatabase > Interfaces > IR > IRasterCursor Interface
ArcGIS Developer Help (ESRI.ArcGIS.Geodatabase)

IRasterCursor Interface

Provides access to members that provide optimized raster access.

Members

Name Description
Method Next Iterates to the next PixelBlock.
Read-only property PixelBlock The current PixelBlock.
Method Reset Return to state when first created.
Read-only property TopLeft The offset of the current PixelBlock.

Classes that implement IRasterCursor

Classes Description
RasterCursor (esriDataSourcesRaster) A raster cursor class.

Remarks

The IRasterCursor interface controls enumeration through the PixelBlocks in a Raster. It is useful for rasters that are too large to be brought into memory at once.

The RasterCursor divides the Raster into blocks 128 pixels high that span the full width of the raster. Each successive PixelBlock is read 128 lines below the previous PixelBlock.

To create a RasterCursor, use the IRaster::CreateCursor or IRaster2::CreateCursorEx method.