EnumFileFormats Function

Enumerates all registered image file formats.

function EnumFileFormats(var Index: LongInt; 
                         var Name: string; 
                         var DefaultExt: string; 
                         var Masks: string; 
                         var CanSaveImages: Boolean; 
                         var IsMultiImageFormat: Boolean): Boolean;

Imaging (at line 98)


Descriptive name, default extension, masks (like '*.jpg,*.jfif') and some capabilities of each format are returned. To enumerate all formats start with Index at 0 and call EnumFileFormats with given Index in loop until it returns False (Index is automatically increased by 1 in function's body on successful call).

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