wicked_pdf create hyperlinks to local files

折月煮酒 提交于 2020-01-25 09:42:05

问题


I wan't to create a PDF document, which contains hyperlinks to local files. E.g. 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?


回答1:


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.



来源:https://stackoverflow.com/questions/51890802/wicked-pdf-create-hyperlinks-to-local-files

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!