PDFium Delphi Component Docs

Loaded function

Unit: PDFium
Read-only flag — True after the PDF library DLL has been loaded into the process

Syntax

function Loaded: Boolean;

Description

Returns True after the PDF library DLL has been loaded into the process

The PDFium runtime is loaded once per process; PDFium.LoadLibrary runs automatically on the first Active := True

A unit-level function in PDFium; safe to call at any time, including before any TPdf instance exists

Remarks

Example

if PDFium.Loaded then
  Memo1.Lines.Add('Loaded = True')
else
  Memo1.Lines.Add('Loaded = False');

See Also

LoadLibrary, UnloadLibrary, V8FeaturesAvailable