ImageEn, unit ieopensavedlg

TOpenImageEnDialog.SelectedFrame

TOpenImageEnDialog.SelectedFrame


Declaration


property SelectedFrame: Integer;


Description


Returns the selected page (or frame) in the open dialog for multipage files like TIFF, GIF.


Example


// Prompt the user to select a TIFF file and load the page that they select
If OpenImageEnDialog1.Execute then
Begin
  ImageEnView1.IO.Params.TIFF_ImageIndex := OpenImageEnDialog1.SelectedFrame;
  ImageEnView1.IO.LoadFromFile( OpenImageEnDialog1.FileName );
End;