ImageEn, unit hyiedefs

TIEFolderFileTypes


Declaration

TIEFolderFileTypes = (iefAllImages, iefAllImagesAndVideos, iefAllFiles, iefCustom);


Description

Specifies which files types to retrieve
Value Description
iefAllImages Retrieves all supported image types of ImageEn
iefAllImagesAndVideos Retrieves all supported image and video types of ImageEn
iefAllFiles Retrieves all files
iefCustom The file types to retrieve are specified by FileTypesMask


Examples

// Fill TImageEnMView with all images in a folder
ImageEnMView1.FillFromDirectory( 'C:\Images\', iefAllImages );

// Get images and videos
ImageEnMView1.FillFromDirectory( 'C:\Images\', iefAllImagesAndVideos );

// Get all files
ImageEnMView1.FillFromDirectory( 'C:\Images\', iefAllFiles );

// Get only JPEG images
ImageEnMView1.FillFromDirectory( 'C:\Images\', iefCustom, '*.jpg;*.jpeg;' );