ImageEn, unit iexUserInteractions |
|
PDFiumLib_IsAvailable
Declaration
function PDFiumLib_IsAvailable(ExeFolderOnly: Boolean; RaiseExcept: Boolean): Boolean; overload;
function PDFiumLib_IsAvailable(const DLLPath: String; RaiseExcept: Boolean = False): Boolean; overload;
Description
Checks if the
PDFium DLL is available (and initializes it).
If ExeFolderOnly is true, only the folder of the application EXE is checked for IEVision DLLs.
If RaiseExcept is true, an exception will occur if the DLL is not found.
Note: You are better to use
RegisterPlugIns or
PlugInAvailable rather than
PDFiumLib_IsAvailableif not PDFiumLib_IsAvailable() then
ShowMessage( 'PDF DLL not found! Please reinstall' );
// Which is the same as:
if not ( iepiPDFium in IEGlobalSettings().RegisterPlugIns([ iepiPDFium ])) then
ShowMessage( 'PDF DLL not found! Please reinstall' );
See Also
◼RegisterPlugIns◼PlugInAvailable◼DLLLoadingLog