ImageEn, unit iemview

TImageEnMView.DeproritizeLargeImages

TImageEnMView.DeproritizeLargeImages


Declaration

property DeproritizeLargeImages: Integer;


Description

Delays the loading of large images so that they do not slow the overall loading.
Images that are larger than the value specified (in Bytes) for DeproritizeLargeImages will be loaded after smaller images have completed loading.
The default value of 0 disables prioritized loading.

Also, you can force thumbnails for large images by setting DeproritizeLargeImageMethod to ieliThumbnail.

Default: 0


Example

// Delay loading of images larger than 10MB
ImageEnMView1.DeproritizeLargeImages := 10*1024*1024;
ImageEnMView1.DeproritizeLargeImageMethod := ieliDelayed;

// Force thumbnails for images larger than 2MB
ImageEnMView1.DeproritizeLargeImages := 2*1024*1024;
ImageEnMView1.DeproritizeLargeImageMethod := ieliThumbnail;

// Disable prioritized loading
ImageEnMView1.DeproritizeLargeImages := 0;