问题
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