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.


Example

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


See Also

 File Format Methods