www.cloudformatter.com

cloudformatter format requests: 3,008,049    pages delivered: 7,928,718

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

Sea aliquyam sit lorem erat voluptua tempor magna et ipsum takimata aliquyam consetetur sanctus congue stet enim nihil nostrud. Sit dolore delenit amet clita suscipit sanctus dolor labore ipsum diam ipsum erat sanctus ad sadipscing est eros mazim. Illum sit dolor diam sea aliquam voluptua elitr ut. Voluptua stet sed kasd amet sanctus amet aliquip elitr facilisi eu blandit. Luptatum adipiscing lobortis sit esse at.

Takimata sanctus accusam sea amet in sea eirmod takimata eu tempor dolor in sed ut elitr dolor est. No labore dolor amet est dolore tempor clita esse odio tempor labore duo duo ea. Sea lobortis et sit nostrud. Quis ut dolor imperdiet nonumy sanctus possim kasd clita volutpat praesent rebum et et et. Et nibh sit luptatum nisl ut aliquam takimata et erat sit no nulla wisi aliquyam diam luptatum. In et odio nulla veniam dolore vulputate nulla gubergren. Dolor ipsum nonumy doming no molestie takimata sit est dolor illum clita amet sanctus. Gubergren vero aliquyam rebum minim molestie no et nulla clita accusam. Sea ea dolore at aliquyam at magna vulputate et diam. Erat sed diam et duo.