|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IFormatList
Provides access to members that contain information about all raster formats currently supported.
The FormatList object contains information about all available raster formats. It can be used to access this information or to check if a particular file is a raster and determine its format.
This object will provide information about all native formats and any formats that have been added to ArcMap by external developers. Formats that have multiple possible file extensions may appear more than once in this list.
Method Summary | |
---|---|
int |
getCount()
Total number of formats. |
int |
getCurrentRecord()
Index of currently accessed format information. |
IFormatData |
item(int index)
Returns format information for a given index. |
void |
setCurrentRecord(int pVal)
Index of currently accessed format information. |
Method Detail |
---|
int getCount() throws IOException, AutomationException
The number of count returned includes both external formats (such as IMG, GRID, or TIFF etc) and internal formats (such as RRD or AUX etc.). To get only the supported external raster formats, use IFormatData::UserFile = true to filter out the internal formats.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IFormatData item(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getCurrentRecord() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setCurrentRecord(int pVal) throws IOException, AutomationException
pVal
- The pVal (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 |