Dieser API-Eintrag behält Bezeichner, Signaturen, Codeblöcke und PDF-Begriffe in ihrer Originalform.
Komponente: TPdf · Unit: PDFium
Returns the document XMP metadata packet as a wide string.
Syntax
property MetaText;
Beschreibung
Returns the document XMP metadata packet as a wide string.
Empty when the document has no /Metadata stream.
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.MetaText;
Siehe auch