EnumFileFormats Function
Imaging

Enumerates all registered image file formats.

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

Imaging (at line 98)

Description

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