procedure UnloadLibrary;
Unloads the PDFium runtime DLL and releases all global state.
任意です — ホストプロセスが DLL を固定したままメモリだけを戻したい場合に役立ちます。TPdf インスタンスがまだアクティブな間は呼び出せません
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 ページ単位の操作を呼び出す前に使用してください。開いている文書を必要とするメソッドは EPdfError otherwise.SaveToFile を呼び出してください
begin
TPdf.UnloadLibrary;
end;