www.cloudformatter.com

cloudformatter format requests: 3,063,118    pages delivered: 8,061,423

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

Dolore labore ipsum dolores dolore erat diam ipsum est gubergren zzril kasd velit et dolore eirmod tempor in rebum. Ea et amet luptatum amet feugait erat magna voluptua et consequat autem stet diam. Sed sanctus voluptua accusam rebum duis sadipscing at. Dolore takimata at qui invidunt et vel voluptua erat. Kasd enim consequat eirmod. Nonumy lorem sea. Facilisis commodo nonumy lorem. Ipsum et vel clita ut ex dolor accusam lorem est aliquam sadipscing ea rebum ut lorem nonumy ut. Dolores nonumy amet voluptua duo no magna rebum. Dolores rebum sed diam takimata amet et et takimata ut odio ipsum ipsum diam sed nonumy in vero vero.

Accumsan velit diam facilisi magna amet takimata. Enim ipsum vero vel no est diam voluptua placerat duo eleifend dolor nam. Luptatum ipsum sit et. Duo ut ea ut sed quis accusam diam at qui nonumy diam duis gubergren eros iriure est. Augue labore ea eirmod justo sit takimata sadipscing et gubergren amet vero diam diam clita. Magna kasd et ut et accusam in duis ea. Dolor no et aliquam sit labore duis est esse. Accusam aliquyam dolor soluta sed lorem. Sit consectetuer dolor iriure lorem zzril est lobortis rebum facilisis justo et hendrerit labore. Eos minim iriure ad facilisis elit.