THotPDF.GetLoadedDocumentMetadataBytes Method

Copies the XMP metadata packet bytes from the currently loaded PDF document. Use it to inspect imported metadata or to validate PDF/A and e-invoice declarations without rewriting the document

Declaration

function GetLoadedDocumentMetadataBytes(out ABytes: TBytes): boolean;

Unit

HPDFDoc

Parameters

NamePurpose
ABytesReceives the metadata stream bytes when the method returns True

Return value

Returns True when XMP metadata bytes are available

Usage notes

Related APIs