www.cloudformatter.com

cloudformatter format requests: 3,497,581    pages delivered: 8,978,600

PDF File Attachments

xportability LLC

PDF File Attachments

http://www.cloudformatter.com

You can insert a file attachment into a PDF document using a special tag pdf-attachment. There are two required attributes filename used as a simple name of the file inside the PDF and href which is a reference to the file you wish to insert. You should use an appropriate filename with extension so that it will open using the associated application.

<pdf-attachment filename="data.xlsx" href="/Resources/Attachments/data.xlsx"/>

The file data.xlsx is attached inside this PDF here using the code above. We've used a little CSS to style the <pdf-attachment> tag:

Notice: If you are using some browser-based viewer like Chrome, you probably will not see attachments. It is because that product does not support them. Download the PDF locally and use a PDF viewer that supports them.

Sample Heading

Dolor aliquyam elitr iriure est clita accumsan dolore consetetur elitr erat ex. Aliquam duis nonumy sanctus consequat exerci. Kasd sadipscing takimata dolor takimata takimata gubergren. Ut labore kasd rebum possim volutpat ut elitr labore. Kasd tincidunt diam stet sea. Ut eirmod vulputate tincidunt vero tation vel erat voluptua feugiat ipsum sea sed et adipiscing aliquyam ipsum. Amet kasd minim elitr gubergren clita accusam lorem tempor sadipscing eros labore feugait dolor vel ut quis. Ex cum kasd sed et kasd sea vero rebum consetetur.

Dolor aliquyam molestie eirmod duo sit aliquip diam tempor. Lorem dignissim dolor voluptua labore labore eos est takimata labore lorem dolor sit labore. Et sed labore labore invidunt et gubergren ipsum dolores stet duis magna et aliquyam. Takimata elit amet eos labore. At sed sadipscing justo dolor tincidunt tempor dolores sit sit duo assum id dolor duo dolores dolore sea. Eum commodo ut no voluptua elitr invidunt at blandit gubergren sea ut stet et clita diam tempor. Ea duo minim eos ut et stet vero ut consetetur sanctus et dolore. Lorem amet vulputate sea diam doming duo at dolor dolore diam nibh eirmod ea est tempor takimata imperdiet. Te sit eos aliquip magna et. Duo et et. Rebum delenit volutpat.