This document is archived and information here might be outdated.  Recommended version.

IRasterCollection Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterCollection Interface
ArcGIS Developer Help

IRasterCollection Interface

Provides access to members that control a raster collection.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Name Description
Method Append Appends a raster to the end.
Method Empty Empties this raster collection.
Method Find Finds a given raster and returns its index position.
Method Get Gets the raster at a given index position.
Method Insert Inserts a raster at a given index.
Method Populate Populates this raster collection from associated RasterCatalog.
Read-only property RasterCount The number of rasters in this raster collection.
Method Remove Removes a raster at a given index.
Method Set Sets the raster at a given index position.

Classes that implement IRasterCollection

Classes Description
MosaicRaster A mosaic of rasters.


The Remove and Empty method will remove the rasters from the MoaicRaster, it does not release the raster object from application. For .NET developers, to prevent the application from holding input rasters or the ouput raster, you must make explicitly call to release the references to the rasters or raster datasets being used:


See Also

MosaicRaster Class