Applies to
Description
The Attachment property sets or gets the attachment of the PDF document.
Datatype
Usage
The Attachment property and the Watermark property could not be set at the same time, because they support different PDF standards.
In scripts
The example creates a PDFAttachment object, adds a file to the object, and then assign it to a PDFDocument object.
PDFdocument lpdf_doc PDFattachment lpdf_attach lpdf_doc = create PDFdocument lpdf_attach = create PDFattachment //addfile ll_return =lpdf_attach.addfile( "D:\image\image.png") lpdf_doc.attachment = lpdf_attach