ImageEn, unit ieopensavedlg

TIEFileDlgPreviewEvent


Declaration

TIEFileDlgPreviewEvent = procedure(Sender: TObject; Viewer: TObject; Filename: String; ParamsOnly: Boolean) of object;


Description

Occurs when the Open File Dialog needs to load an image for preview or get the parameters (file details) from an image.
Viewer will be a TImageEnVect object for single-frame images or a TImageEnMView object for multi-frame images or videos.
Filename contains the file name to load.
ParamsOnly is true when the Preview Checkbox is not checked, so the user doesn't want to display the image.