TIEImageEnGlobalSettings.FileFormat
Declaration
property FileFormat[Index: Integer]: TIEFileFormatInfo;
Description
Returns details of a supported file format (Read-only).
Demo
| Demos\InputOutput\BatchConvert\BatchConvert.dpr |
Example
// Add all image formats that image can save to
var
i: Integer;
fmt: TIEFileFormatInfo;
begin
for i := 0 to IEGlobalSettings().FileFormatCount - 1 do
begin
fmt := IEGlobalSettings().FileFormat[i];
if @fmt.WriteFunction <> nil then // Can save?
cmbFormat.Items.Add( fmt.FullName + ' (' + fmt.Extensions + ')' );
end;
cmbFormat.ItemIndex := 0;
end;
See Also
-
FileFormatCount-
GetFileExtensionsOfType-
GetOpenSaveDialogFilter-
IEFileFormatGetInfo