Declaration
function GetFileExtensionsOfType(FileType: TIOFileType) : string;
Description
Returns the extensions of an ImageEn file type in the format '*.jpeg;*.jpg'.
// Get MPEG file types
s := GetFileExtensionsOfType( ioMPEG ); // Returns '*.MPEG;*.MPG;*.MP4'
// Create a file filter for JPEG, GIF and all supported files types
FilterComboBox1.Filter := 'JPEG Files|' + GetFileExtensionsOfType(ioJPEG) + '|' +
'GIF Files|' + GetFileExtensionsOfType(ioGIF) + '|' +
'All Images|' + GetAllSupportedFileExtensions(True, False, False) + '|' +
'All Files|*.*';
See Also
◼GetAllSupportedFileExtensions◼GetOpenSaveDialogFilter