procedure LoadLibrary;
Loads the PDFium runtime DLL into the process. Called implicitly by Active := True
Set PdfLibraryPath before calling LoadLibrary when loading from a custom DLL path
Unit-level procedure in the PDFium unit; can be called before creating any TPdf instance
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;