文本中的PDFsharp书签 [英] PDFsharp bookmarks in text
本文介绍了文本中的PDFsharp书签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在文本中创建类似书签的内容?像URL一样,在文本的任意位置单击此书签,它将您重定向到其他页面.
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.
推荐答案
PdfPage类提供:
The PdfPage class offers:
- AddDocumentLink
- AddWebLink
- AddFileLink
因此,使用PDFsharp时,您将使用page.AddDocumentLink跳转到同一文档中的另一页.
So with PDFsharp you'd use page.AddDocumentLink to jump to another page in the same document.
这篇关于文本中的PDFsharp书签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文