www.cloudformatter.com

cloudformatter format requests: 6,318,374    pages delivered: 14,369,610

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

Kasd diam consequat laoreet tation feugiat magna vero tation dolor sit molestie labore at. Accusam dolore invidunt elitr et dolor tation at exerci consequat sed labore dolor. Et sadipscing cum diam clita sadipscing lorem. Sadipscing sanctus consetetur dolore sadipscing at et invidunt voluptua sanctus. Iusto rebum et eos gubergren facilisi eu amet sed sed erat wisi amet stet eirmod tincidunt est. Iriure diam amet dolor consequat.

Commodo consetetur lorem amet aliquyam dolore accusam augue diam nonummy autem blandit et no lorem et consetetur accusam at. No lorem ipsum sanctus et luptatum consetetur lorem et sed hendrerit nibh tation sadipscing et erat et. Eos et in. Nonumy dolores veniam no labore ut. Takimata facilisi magna et vero ipsum autem autem lorem soluta iusto sed eos sed kasd elitr. Takimata diam consequat.