TImageEnMIO.LoadFromStreamZIP
Declaration
function TImageEnMIO.LoadFromStreamZIP(Stream: TStream; const Password: string = ''): Boolean;
Description
Loads the content of a ZIP stream into the attached
TImageEnMView or
TIEMultiBitmap using a plug-in.
If the file is encrypted you can specify the password (otherwise a password prompt will be displayed if
AutoPromptForPassword is enabled).
The result will be false if an error is encountered, e.g. the file in the stream is not ZIP format or a ZIP plug-in is not found(
Aborting will be true).
Note:
◼ZIP extraction requires the
7z plug-in from:
www.imageen.com/download/
◼LoadFromStreamZIP does not reset the position of the stream, so you may need to first call Stream.Position := 0;
◼Existing content is
not cleared. Call
Clear to remove existing content before loading
◼To abort while loading set
Aborting to true
◼Read more about
ImageEn ZIP Support