Hi Team,
I have a requirement where I have to delete few pages and it's related bookmarks from an existing PDF. I can delete the page using overloaded MergeDocument constructor which takes the starting page and the number of pages to merge.
But the problem is that it retains all the bookmarks in the original PDF and if I set MergeOptions.Outlines = false, it removes all bookmarks. Is there any way to remove only particular bookmarks instead of all.
Sample PDF contains bookmarks 1 to 10, and each bookmark points to pages 1 to 10. My output PDF should have bookmark 6-10 and pages 6-10.
Thanks,
Rob