THotPDF.GetLoadedDocumentMetadataBytes Method
Method summary: THotPDF.GetLoadedDocumentMetadataBytes Method
Declaration
function GetLoadedDocumentMetadataBytes(out ABytes: TBytes): Boolean;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
ABytes | Receives the metadata stream bytes when the method returns True |
Return value
Returns True when XMP metadata bytes are available
Usage notes
- Call this method after LoadFromFile or LoadFromStream
- The method returns raw XMP bytes and does not require an XML DOM parser
- DetectFacturXInvoice uses this metadata to read hybrid invoice XMP fields
Related APIs
- THotPDF.GetLoadedCatalog Method
- THotPDF.ValidateFacturXInvoice Method
- THotPDF.DetectFacturXInvoice Method
- THotPDF.ExtractFacturXXML Method