ImageEn, unit iexBitmaps

IEFilenameToFileFormat


Declaration

function IEFilenameToFileFormat(const FileName: String): TIOFileType;


Description

Finds the TIOFileType type from a filename (based only on the extension, not the content like FindFileFormat).
It will return ioUnknown for unsupported types.


Example

if IEFilenameToFileFormat( filename ) = ioBMP then
  ShowMessage( 'It is a bitmap' );


See Also

 File Format Methods