ImageEn, unit iexBitmaps

TIEMultiBitmap.ImageCacheUseDisk

TIEMultiBitmap.ImageCacheUseDisk


Declaration

property ImageCacheUseDisk: Boolean;


Description

When enabled, a disk file is used to cache the images and view. Otherwise only system memory is used.
Disabling this option is useful if you have low disk space or don't want ImageEn to write to disk.

Warning: Setting this property will also call Clear

Note: This is not a permanent disk cache, i.e. the cache is not maintained between session. It simply lowers memory usage of the internal cache

Default: True


Example

// Only cache to system memory
mbmp.ImageCacheUseDisk := False;
mbmp.LoadFromFile( 'D:\image.tiff' );