Attachments Property
Collection of files attached to the current PDF.
Syntax
getAttachments(): PDFAttachmentList; setAttachments(attachments: PDFAttachmentList): void;
Default Value
Remarks
This collection contains a list of pdfattachment objects with information about each attached file.
Creating and adding a new PDFAttachment:
PDFAttachment attachment = new PDFAttachment("testfile.xml", "\file.xml", "text/xml"); attachment.Description = "This is a description"; attachment.Relationship = "Source"; pdfxml.Attachments.Add(attachment);
This property is not available at design time.