ImageEn, unit iesettings

TIEGlobalSettings.ActivePlugIns

TIEGlobalSettings.ActivePlugIns


Declaration

property ActivePlugIns: TIEPlugIns;


Description

Returns all of the plug-in DLLs that have been loaded.
You should call RegisterPlugIns once in your application to register plug-ins.
After, you can query ActivePlugIns to see which plug-ins are available.

The following plug-ins are supported:
Plug-In Const Description
IELib iepiIELib Loading of Camera Raw formats, and faster load performance for JPEG, PNG and JPEG2000
IEVision iepiIEVision Advanced functionality plug-in
IELang iepiLanguages Localization of the ImageEn user interface and actions in over twenty languages
PDFium iepiPDFium Viewing and editing of PDF documents
ImageMagick iepiImageMagick Support for a wider range of image formats (supports both installed and DLL-only versions)
SevenZip iepiSevenZip Support for Zip and other archives
WebP iepiWebP Loading and saving of WebP files

Read-Only

Note: You can get the status of all loaded plug-ins using ImageEnVersion.Status


Examples

// Enable Raw support if IELib DLL is available (assumes it has been initialized if available)
chkShowRaw.Enabled := iepiIELib in IEGlobalSettings().ActivePlugIns;


// Register only IEVision
IEGlobalSettings().RegisterPlugIns( [iepiIEVision], 'me@mycompany.com', 'ievis-12345-67890-12345-67890-12345-67890' );
if not ( iepiIEVision in IEGlobalSettings().ActivePlugIns ) then
begin
  ShowMessage( 'This application requires the ievision.dll plug-in, v' + IEGlobalSettings().ImageEnVersion.IELibVersionStr +'. Please download it from www.imageen.com' );
  exit;
end;


// Register the PDFium Plug-In DLL and show a warning if not found
IEGlobalSettings().RegisterPlugIns([ iepiPDFium ]);
if not ( iepiPDFium in IEGlobalSettings().ActivePlugIns ) then
  ShowMessage( 'PDF DLL not found. Please reinstall.' );


// Change language to Italian and show warning if language dll is not found
IEGlobalSettings().RegisterPlugIns([ iepiLanguages ]);
if not ( iepiLanguages in IEGlobalSettings().ActivePlugIns ) then
  ShowMessage( 'IELang32.dll not found. Please reinstall.' )
else
  IEGlobalSettings().MsgLanguage := msItalian;


See Also

RegisterPlugIns
DLLLoadingLog
PlugInAvailable
ImageEnVersion.IELibVersionStr
CopyIEStatusToClipboard