procedure LoadLibrary;
Loads the PDFium runtime DLL into the process. Called implicitly by Active := True.
Skicka en egen sökväg för att använda en icke-standard DLL-plats; skicka en tom sträng för standardsökningen.
Wraps the corresponding PDFium API and exposes it as a TPdf instance member so consumers do not have to manage FPDF_DOCUMENT handles directly.
Pdf1.Active innan du anropar sidomfattande operationer; metoder som kräver ett öppet dokument kastar EPdfError otherwise.SaveToFile to persist.
begin
TPdf.LoadLibrary;
end;