ImageEn, unit iemview

TImageEnMView.LoadSnapshot

TImageEnMView.LoadSnapshot


Declaration

function LoadSnapshot(FileName: WideString): Boolean;
function LoadSnapshot(Stream: TStream): Boolean;


Description

Loads the image, cache data, text and dimensions of frames that have been save to a stream or file using SaveSnapshot.

This can be used to create caching mechanism, like Windows .db files, to load quickly an entire directory of images.

Note: TImageEnMView and TImageEnFolderMView snapshot files cannot be used interchangeably. Nor can 32 and 64bit versions of your application, or unicode and non-unicode versions.