TImageEnMIO.LoadFromFiles
Declaration
procedure LoadFromFiles(const FileName: string; AutoDetect: Boolean = False; LoadWhenViewed: Boolean = False);
Description
Loads multiple files separated by '|' character.
If AutoDetect is true then ImageEn tries to detect file type from header, otherwise it looks only the file extension.
If LoadWhenViewed is true each file is actually loaded only when it needs to be displayed.
Note: Existing content is
not cleared. Call
Clear to remove existing content before loading.
// Load three files
ImageEnMView1.MIO.LoadFromFiles('one.jpg|two.jpg|three.jpg');
// Execute the open dialog and load the returned list of selected files
filenames := ImageEnMView1.MIO.ExecuteOpenDialog('', '', true, 1, '', true);
ImageEnMView1.MIO.LoadFromFiles(filenames);