简体   繁体   中英

wicked_pdf create hyperlinks to local files

I wan't to create a PDF document, which contains hyperlinks to local files. Eg when the PDF is downloaded, along with some files, the PDF contains hyperlinks to these files. Is this possible to achieve, and if so, how?

You could try the following. This method works in general for linking local files to HTML documents.

<a href="file:///C:\Programs\sort.mw">Link 1</a>
<a href="file:///C:\Your File Location">Link 2</a>

Notice the file:/// (3 slashes) before the location.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM