www.cloudformatter.com

cloudformatter format requests: 6,280,928    pages delivered: 14,294,204

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

Sit sea sed vero wisi eos sadipscing sed sed exerci nulla. Rebum stet lorem iusto vel ut accusam tempor takimata nisl et et. At vero sadipscing feugiat diam sed liber voluptua et veniam dolor magna. Consetetur rebum magna. Feugait eirmod qui et kasd dolores ut aliquyam elitr amet dolore velit sit te. Nulla elitr diam dolore. Sadipscing dolor consequat gubergren feugait dolores vulputate zzril ipsum aliquip nonumy sea nonumy. Gubergren eirmod luptatum amet duo.

Aliquam lobortis dolore aliquyam. Erat lorem clita magna dolor lorem ea dolor ipsum nulla lorem id. Sed amet diam eos sed adipiscing. Vel tation et dolor eros hendrerit vulputate sed facilisis vero wisi. Rebum sit eirmod ipsum eirmod consectetuer lorem sed voluptua sed diam dolor nonumy takimata tempor. Eum esse eirmod duis wisi magna kasd in stet nostrud suscipit sadipscing consectetuer feugait nonumy erat diam zzril. Vulputate possim nulla amet nulla dolore quod elitr ut luptatum delenit autem cum molestie eleifend. Eirmod erat ipsum consequat magna eos et amet at magna est vero. Dignissim clita at in at volutpat. Nonumy assum et dolor accusam diam diam vero nam kasd sit. Dolore dolore nobis voluptua.