ImageEn, unit iexBitmaps

TIOParams.FileType

TIOParams.FileType


Declaration

property FileType: TIOFileType;


Description

Returns the file type of the last loaded or saved image, e.g. after a calling LoadFromFileGIF this property will have the ioGIF value.

Default: ioUnknown


Example

if OpenImageEnDialog1.Execute then
begin
  ImageEnView1.IO.LoadFromFile(OpenImageEnDialog1.FileName);
  case ImageEnView1.IO.Params.FileType of
    ioTIFF : ShowMessage('You have loaded a TIFF file');
    ioGIF  : ShowMessage('You have loaded a GIF file');
    ...
  end;
end;