GetFileNameFilterIndex Function
Imaging

Returns filter index of image file format of file specified by FileName.

Pascal
function GetFileNameFilterIndex(const FileName: string; 
                                OpenFileFilter: Boolean): LongInt;
File

Imaging (at line 527)

Description

Used filter string is defined by GetImageFileFormatsFilter function. Returned index is in range 1..N (as FilterIndex property of TOpenDialog/TSaveDialog)

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