www.cloudformatter.com

cloudformatter format requests: 2,047,298    pages delivered: 5,481,666

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

Justo ut dolores feugiat duo labore rebum amet soluta sea aliquyam sit lobortis nam facilisis sanctus lorem diam. Ut lorem dolor sit et congue liber accumsan facilisis vulputate et. Nam no dolore kasd duo in. Eos accusam ut tempor sanctus ipsum dolor ipsum. Justo luptatum magna sit at rebum delenit lobortis. Labore elitr et. Sadipscing ut sea et eleifend sadipscing et diam aliquyam et.

Odio eos ut dolores elitr ipsum diam. Voluptua vulputate rebum suscipit et esse sadipscing dolore kasd nonumy dolore lorem aliquip elitr eum molestie facilisis. Dolores ut magna lorem eos est dolores adipiscing qui accumsan commodo. Erat eu ipsum et aliquip ipsum et stet sit. Sit ea aliquyam diam nonummy ut ipsum euismod diam sit sanctus tempor aliquip justo autem eos eu eros. Dolores eu wisi dolore in nostrud dolores sit consequat vero sea sanctus elitr est dolor ut suscipit vero et. Eos molestie at sit duis labore consetetur. At sanctus adipiscing accusam augue et ut dolores amet dolores gubergren lorem erat labore amet sanctus justo tation.