Provides access to members that contain information about all raster formats currently supported.
When To Use
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.
Members
Name | Description | |
---|---|---|
Count | Total number of formats. | |
CurrentRecord | Index of currently accessed format information. | |
Item | Returns format information for a given index. |
IFormatList.Count Property
Total number of formats.
Public ReadOnly Property Count As Integer
public int Count {get;}
Remarks
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.
IFormatList.CurrentRecord Property
Index of currently accessed format information.
Public Property CurrentRecord As Integer
public int CurrentRecord {get; set;}
IFormatList.Item Method
Returns format information for a given index.
Public Function Item ( _
ByVal Index As Integer _
) As IFormatData
public IFormatData Item (
int Index
);
Classes that implement IFormatList
Classes | Description |
---|---|
FormatList | A collection of information about supported raster formats. |