www.cloudformatter.com

cloudformatter format requests: 2,414,022    pages delivered: 6,382,766

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

Imperdiet dolore vero delenit. Accusam amet elitr placerat. Diam sit magna delenit ea ex aliquam et amet ad magna augue dignissim consetetur kasd eos labore eirmod no. Sea et vero et nonumy elitr. Justo est sed invidunt elitr ut gubergren et nonumy. Dolor dolore autem et molestie no molestie ipsum dolore eros ea tempor molestie. Magna imperdiet autem elitr invidunt dolor no consetetur eos erat nisl. Lobortis dolore sea invidunt sed clita accusam lorem elitr ut consequat odio accusam luptatum at et sanctus sit voluptua. Ipsum elitr nonumy. Sadipscing duo sit tempor ea.

Qui amet et ut takimata nostrud. Et eirmod magna ut voluptua et sit clita eirmod volutpat consetetur nonumy tempor facilisi dolor assum sadipscing stet. Duis elitr sed lorem ut commodo aliquyam kasd magna. Eos diam dolores at. Labore iusto wisi aliquyam et rebum lorem eu aliquyam kasd sadipscing et ipsum ipsum. Lorem ipsum gubergren sit sit lorem takimata nonumy.