procedure LoadLibrary;
Loads the PDFium runtime DLL into the process. Called implicitly by Active := True
Set PdfLibraryPath before calling LoadLibrary when the DLL lives at a custom path
Unit-level procedure in the PDFium unit; it may be called before any TPdf instance exists
Pdf1.Active before calling page-scoped operations; methods that require an open document raise EPdfError otherwiseSaveAs to persistPDFium (LoadLibrary / UnloadLibrary / GetRecommendedV8Flags) can be called without a TPdf instance
begin
PDFium.LoadLibrary;
end;