Interface IRasterCursor
- Namespace
- ESRI.ArcGIS.Geodatabase
- Assembly
- ESRI.Server.Geodatabase.dll
Provides access to members that provide optimized raster access.
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("3A625C22-A707-11D2-8E30-00A0249480F0")]
public interface IRasterCursor
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.
Properties
PixelBlock
The current PixelBlock.
IPixelBlock PixelBlock { get; }
Property Value
TopLeft
The offset of the current PixelBlock.
IPnt TopLeft { get; }
Property Value
Methods
Next()
Iterates to the next PixelBlock.
bool Next()
Returns
Reset()
Return to state when first created.
void Reset()