THotPDF.AddPDFAssociatedFile-methode
Embedt een bestand, maakt zijn FileSpec en /AFRelationship aan en registreert het in zowel Catalog /AF als de EmbeddedFiles-naamboom
Declaratie
function AddPDFAssociatedFile(const FileName: AnsiString;
const MimeType: AnsiString; const Description: AnsiString;
const Relationship: AnsiString;
const FileBytes: TBytes): THPDFDictionaryObject;
Unit
HPDFDoc
Parameters
FileNameenMimeTypemogen niet leeg zijnRelationshipaccepteertSource,Data,Alternative,SupplementofUnspecifiedFileBytesworden ongewijzigd gekopieerd in de ingebedde stroom
Gebruiksaanwijzing
Het actieve profiel moet PDF/A-3, PDF/A-4e of PDF/A-4f zijn