THotPDF.ExportLoadedDocumentToXFDFBytes Method

Provides export of a loaded document to XFDF bytes in the document creation workflow. Use it when the surrounding API family needs explicit control over PDF objects, page content, resources, conformance or diagnostics

Declaration

function ExportLoadedDocumentToXFDFBytes(out Bytes: TBytes; const SourcePDFHref: AnsiString = ''; const OriginalIDHex: AnsiString = ''; const ModifiedIDHex: AnsiString = ''): Integer;

Unit

HPDFDoc

Parameters

NamePurpose
BytesRaw byte payload embedded or validated by this API
SourcePDFHrefInput supplied to ExportLoadedDocumentToXFDFBytes
OriginalIDHexInput supplied to ExportLoadedDocumentToXFDFBytes
ModifiedIDHexInput supplied to ExportLoadedDocumentToXFDFBytes

Return value

Returns an Integer value

Usage notes

Related APIs