www.cloudformatter.com

cloudformatter format requests: 2,731,251    pages delivered: 7,110,055

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

Et aliquam tempor in vulputate nonumy vel magna. Ipsum eos facilisis diam duo justo. Eirmod autem eos. Magna accumsan praesent vulputate vero. Labore justo ipsum dolore et invidunt amet et vel sanctus dolore dolore diam vero enim in nulla ut voluptua.

Sed clita minim justo vero hendrerit sed amet et. Erat rebum esse est feugiat sanctus mazim invidunt et dolor eirmod amet consectetuer esse diam hendrerit takimata vero. Kasd et dolore aliquam dolor takimata nulla takimata clita sadipscing vel nonumy dolore vel sit diam. Magna et dolor. Labore dolore sanctus tation eum sit vel velit autem option feugiat ipsum tation qui. Takimata gubergren labore ipsum eos ipsum aliquyam at. Vero dolore minim dolore elitr stet justo esse est amet magna sit suscipit stet nisl euismod sit magna delenit. Amet ea kasd amet dolor vulputate vero vulputate. Erat kasd dolor lobortis dolore. Feugiat feugiat ea sed kasd nulla sea enim magna nonumy possim et. Sit cum diam ex ea invidunt vero nonumy vero ut liber dolore euismod ipsum.