GetFilterIndexExtension Function
Imaging

Returns file extension (without dot) of image format selected by given filter index.

Pascal
function GetFilterIndexExtension(Index: LongInt; 
                                 OpenFileFilter: Boolean): string;
File

Imaging (at line 523)

Description

Used filter string is defined by GetImageFileFormatsFilter function. This function can be used with save dialogs (with filters created by GetImageFileFormatsFilter) to get the extension of file format selected in dialog quickly. Index is in range 1..N (as FilterIndex property of TOpenDialog/TSaveDialog)

Related Information
You are here: Symbol Reference > Functions > GetFilterIndexExtension Function