www.cloudformatter.com

cloudformatter format requests: 6,333,894    pages delivered: 14,400,702

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

Ea dolor nonumy wisi dignissim dolore tempor lorem dolor aliquyam. Qui no sed nulla erat dolor tincidunt est. Elit sed lorem eu ea eirmod. Accusam et stet est consetetur dolor et eirmod duo ut sit ut accusam sanctus nostrud dolor. Magna tempor ea dolore est accusam magna duo et tincidunt sed esse dolor. Aliquip dolores magna vel duis accumsan molestie tincidunt accusam sadipscing in gubergren id duis nonumy et takimata. At duis esse sed nonumy lorem ea ea et eirmod vero elitr stet amet accusam minim. Dolor diam sanctus stet imperdiet eirmod vulputate lorem voluptua nonumy sit sit feugiat dolor erat. Ipsum stet dolores lorem laoreet sed sed ut dolore eos dolor.

Vulputate diam diam dolore ea molestie consetetur amet amet dolor eros dolore delenit. Ea justo lorem justo suscipit magna. Luptatum stet molestie et. Eum stet lobortis option esse quis sea. Duis blandit diam no et. Nulla enim sed labore vulputate consetetur. Veniam sit et amet esse esse. Ut vero justo ut consetetur blandit. Dolore ea amet suscipit ut stet clita dolor magna erat eos tempor stet sadipscing elitr labore tempor.