|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRasterCollection
Provides access to members that control a raster collection.
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);
MosaicRaster
Method Summary | |
---|---|
void |
append(IRaster pRaster)
Appends a raster to the end. |
void |
empty()
Empties this raster collection. |
int |
find(IRaster pRaster)
Finds a given raster and returns its index position. |
IRaster |
get(int index)
Gets the raster at a given index position. |
int |
getRasterCount()
The number of rasters in this raster collection. |
void |
insert(int index,
IRaster pRaster)
Inserts a raster at a given index. |
void |
populate(IEnvelope pExtent)
Populates this raster collection from associated RasterCatalog. |
void |
remove(int index)
Removes a raster at a given index. |
void |
set(int index,
IRaster pRaster)
Sets the raster at a given index position. |
Method Detail |
---|
int getRasterCount() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void insert(int index, IRaster pRaster) throws IOException, AutomationException
index
- The index (in)pRaster
- A reference to a com.esri.arcgis.geodatabase.IRaster (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void append(IRaster pRaster) throws IOException, AutomationException
pRaster
- A reference to a com.esri.arcgis.geodatabase.IRaster (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void remove(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int find(IRaster pRaster) throws IOException, AutomationException
pRaster
- A reference to a com.esri.arcgis.geodatabase.IRaster (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IRaster get(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void set(int index, IRaster pRaster) throws IOException, AutomationException
index
- The index (in)pRaster
- A reference to a com.esri.arcgis.geodatabase.IRaster (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void empty() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void populate(IEnvelope pExtent) throws IOException, AutomationException
pExtent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |