THPDFHeadlessDocument.LoadFromFile

Unit: HPDFHeadlessDocument

procedure LoadFromFile(const FileName: string);

Open a PDF read-only and load its classic cross-reference history, object graph, inherited page resources, and AcroForm field tree

This call closes the previous document first and closes partial state on failure; xref streams, hybrid xrefs, and encryption have explicit typed diagnostics in this profile

API contract and format boundaries · Linux portable core