Dieser API-Eintrag behält Bezeichner, Signaturen, Codeblöcke und PDF-Begriffe in ihrer Originalform.
Komponente: TPdf · Unit: PDFium
Native PDFium FPDF_DOCUMENT handle for direct low-level access.
Syntax
property Document;
Beschreibung
Native PDFium FPDF_DOCUMENT handle for direct low-level access.
Use only when calling FPdfApi / FPdfEdit functions that PDFiumPas does not wrap.
Wraps the corresponding PDFium API and exposes it as a TPdf instance member so consumers do not have to manage FPDF_DOCUMENT handles directly.
Hinweise
- Always check
Pdf1.Active bevor seitenbezogene Operationen aufgerufen werden; Methoden, die ein geöffnetes Dokument erfordern, lösen EPdfError otherwise.
- Dokumentbearbeitende Methoden (AddPage / DeletePage / UpdatePage / CreateAnnotation) hinterlassen das Dokument im Arbeitsspeicher als geändert - denken Sie daran,
SaveToFile to persist.
- Class methods (LoadLibrary / UnloadLibrary / GetRecommendedV8Flags) can be called without a TPdf instance.
Beispiel
if Pdf1.Active then
Pdf1.Document;
Siehe auch