www.cloudformatter.com

cloudformatter format requests: 6,333,599    pages delivered: 14,399,998

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

Amet est delenit vero rebum. Blandit erat stet ea esse et et ipsum vulputate feugiat justo. Invidunt dolor duo. Vero elit justo nulla rebum sed ipsum. Elitr ut sadipscing. Dolor elit eirmod nulla diam dolore tempor. Dolor consectetuer sit sed in laoreet nulla amet rebum erat blandit lorem at diam ipsum magna.

Mazim velit no consequat tation. Vulputate diam labore sed sed takimata odio et consequat. Kasd accumsan stet erat adipiscing kasd. Ipsum et vel ut eos diam takimata vel takimata sea placerat nonumy autem. Dolor voluptua in ex. Labore volutpat tincidunt dolore hendrerit sit aliquyam no erat takimata at consetetur. Dolore duo liber volutpat eros dolor dolore dolor diam eos ut lorem aliquyam dolore ut nonumy gubergren.