PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

How to create Bookmark or TOB for the merged PDF file
https://forum.pdfsharp.net/viewtopic.php?f=2&t=3571
Page 1 of 1

Author:  sonu88 [ Thu Apr 13, 2017 5:20 am ]
Post subject:  How to create Bookmark or TOB for the merged PDF file

Hi,

I have two pdf files, one is for HR related and another one is for Finance, so far I am able to merge both the files in order and made a single PDF file using PDFSharp.
Now I wanted to create Bookmark like below or any way and on click of that, user should go that page.

Root
HR
    page 1
    page 2
    page 3

Finance
    page 1
    page 2

If possible, please send me any working code for this.

Author:  Thomas Hoevel [ Thu Apr 13, 2017 7:52 am ]
Post subject:  Re: How to create Bookmark or TOB for the merged PDF file

Hi!
sonu88 wrote:
If possible, please send me any working code for this.
Here's the code:
http://www.pdfsharp.net/wiki/Bookmarks-sample.ashx
Needs some customization for your needs, but should get you started.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/