THotPDF.ExportLoadedDocumentToXFDFBytes Method

Provides the ExportLoadedDocumentToXFDFBytes behavior for 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 used by ExportLoadedDocumentToXFDFBytes
OriginalIDHexInput used by ExportLoadedDocumentToXFDFBytes
ModifiedIDHexInput used by ExportLoadedDocumentToXFDFBytes

Return value

Returns an Integer value

Usage notes

Related APIs