ImageEn, unit iemview

TIEMIOOptionsEx


Declaration

TIEMIOOptionsEx = Set of (ieixLoadOnlyByFileExt, ieixWantParams, ieixRemoveCorrupted);


Description

Value Description
ieixLoadOnlyByFileExt By default, file types are determined by analyzing the message header. A quicker method is to use the file extension to determine the file type. Though this means that images with incorrect or invalid file extensions will not load
ieixWantParams When using ieixLoadOnlyByFileExt, thumbnail loading or EnableLoadExplorerThumbnails, the loading of Params is skipped, so text fields that display this data will be empty. Enabling this option forces the loading of params
ieixRemoveCorrupted Images within the grid that are invalid will be automatically removed


Example

// Use the file extension to determine its type (to increase speed)
ImageEnMView1.IOOptionsEx := ImageEnMView1.IOOptionsEx + [ ieixLoadOnlyByFileExt ];

// Automatically remove any corrupted (unreadable) images from the grid.
ImageEnMView1.IOOptionsEx := ImageEnMView1.IOOptionsEx + [ ieixRemoveCorrupted ];