THotPDF.AddXAdESAssociatedFile Method

Adds xad esassociated file data to the document creation workflow. The call creates or attaches the PDF-side object needed by later output, validation, signing, or page rendering steps

Declaration

function AddXAdESAssociatedFile(const FileName: AnsiString; const XMLBytes: TBytes; const Description: AnsiString= ''; const MimeType: AnsiString= 'application/xml'; const Relationship: AnsiString= 'Source'): THPDFDictionaryObject;

Unit

HPDFDoc

Parameters

NamePurpose
FileNameFile path used as the source or destination for this operation
XMLBytesRaw byte payload embedded or validated by this API
DescriptionHuman-readable text stored in the PDF object, action, annotation, or structure element
MimeTypeInput used by AddXAdESAssociatedFile
RelationshipInput used by AddXAdESAssociatedFile

Return value

Returns a THPDFDictionaryObject value

Usage notes

Related APIs