ImageEn, unit iemview

TImageEnMView.DeprioritizeLargeImageMethod

TImageEnMView.DeprioritizeLargeImageMethod


Declaration

property DeprioritizeLargeImageMethod: TIEMLargeImageMethod;


Description

Specifies the method used to load large images so that they do not slow the overall loading.
Images that are larger than the value specified (in Bytes) for DeprioritizeLargeImages will be loaded either delayed or as thumbnails, depending on DeprioritizeLargeImageMethod.

Default: ieliDelayed


Example

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

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

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