public interface IRasterBandCollection
extends java.io.Serializable
Description: 'Provides access to members that control a collection of RasterBands.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
IID
Deprecated.
Internal use only
|
static int |
IID7aca3d10_0629_11d2_8d24_0000f8780535 |
static int |
xxDummy
Deprecated.
Internal use only
|
Modifier and Type | Method and Description |
---|---|
void |
add(IRasterBand element,
int index)
Adds a RasterBand to the band collection.
|
void |
appendBand(IRasterBand element)
Appends a RasterBand to the band collection.
|
void |
appendBands(IRasterBandCollection bands)
Appends a collection of RasterBands to the band collection.
|
void |
clear()
Removes all the elements in the collection.
|
IRasterBand |
getBandByName(java.lang.String name)
A RasterBand given its name.
|
int |
getBandIndex(java.lang.String name)
The index of a RasterBand given its name.
|
IEnumRasterBand |
getBands()
All the bands in the collection as an interface to the RasterBands enumerator object.
|
int |
getCount()
The number of bands in the collection.
|
IRasterBand |
item(int bandIndex)
Returns a RasterBand given its index.
|
void |
remove(int index)
Removes an element from the collection.
|
IDataset |
saveAs(java.lang.String new_name,
IWorkspace worksp,
java.lang.String format)
Creates a new persistent RasterDataset with the bands in the collection.
|
static final int IID7aca3d10_0629_11d2_8d24_0000f8780535
static final int xxDummy
static final java.lang.String IID
void add(IRasterBand element, int index) throws java.io.IOException, AutomationException
element
- A reference to a com.esri.arcgis.datasourcesraster.IRasterBand (in)index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.int getCount() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void clear() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void remove(int index) throws java.io.IOException, AutomationException
index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.int getBandIndex(java.lang.String name) throws java.io.IOException, AutomationException
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IRasterBand getBandByName(java.lang.String name) throws java.io.IOException, AutomationException
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IEnumRasterBand getBands() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IRasterBand item(int bandIndex) throws java.io.IOException, AutomationException
bandIndex
- The bandIndex (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IDataset saveAs(java.lang.String new_name, IWorkspace worksp, java.lang.String format) throws java.io.IOException, AutomationException
new_name
- The new_name (in)worksp
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)format
- The format (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void appendBand(IRasterBand element) throws java.io.IOException, AutomationException
element
- A reference to a com.esri.arcgis.datasourcesraster.IRasterBand (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void appendBands(IRasterBandCollection bands) throws java.io.IOException, AutomationException
bands
- A reference to a com.esri.arcgis.datasourcesraster.IRasterBandCollection (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.