ImageEn, unit iemview

TImageEnMView.ImageCacheUseDisk

TImageEnMView.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 persistent disk cache, i.e. the cache is not maintained between session. It simply lowers memory usage of the internal cache. For a persistent disk cache, enable DiskCache.

Default: True


Example

// Only cache images in memory
ImageEnMView1.ImageCacheUseDisk = False;


See Also

ClearImageCache
EnableImageCaching
ImageCacheSize