PDFsharp bookmarks in text

妖精的绣舞 提交于 2019-12-25 03:19:24

问题


How can I create something like bookmark but in the text? Like URL, click on this bookmark in any place in text and it redirects you to other page.


回答1:


The PdfPage class offers:

  • AddDocumentLink
  • AddWebLink
  • AddFileLink

So with PDFsharp you'd use page.AddDocumentLink to jump to another page in the same document.



来源:https://stackoverflow.com/questions/3957799/pdfsharp-bookmarks-in-text

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