This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterCollection Interface (ArcObjects .NET 10.5 SDK) |
Provides access to members that control a raster collection.
Description | ||
---|---|---|
Append | Appends a raster to the end. | |
Empty | Empties this raster collection. | |
Find | Finds a given raster and returns its index position. | |
Get | Gets the raster at a given index position. | |
Insert | Inserts a raster at a given index. | |
Populate | Populates this raster collection from associated RasterCatalog. | |
RasterCount | The number of rasters in this raster collection. | |
Remove | Removes a raster at a given index. | |
Set | Sets the raster at a given index position. |
CoClasses and 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:
System.Runtime.InteropServices.Marshal.ReleaseComObject(inputRasterDS);