Issue with Delete Bookmarks with Level2,Level 3


Bookmarks is not deleted with this code, where i did mistake, &
[If i want index based delete how to Do ?]

Document pdfDocument = new Document(@"D:\test.pdf");
        OutlineCollection item1 = pdfDocument.Outlines;
        foreach(OutlineItemCollection item in item1)




Thank you for contacting support.

You may delete a bookmark using its title, or all bookmarks as explained in Add and Delete a Bookmark. If you still need any assistance then please share your sample PDF document as well.


But if i want delete particular bookmark it’s only on Title based, but if pdf contains 2 bookmarks with same Title name, and if want to delete 2nd position bookmarks then How?
ex; A1 > Bookmark Title name
A2 > Bookmark Title name
A1 >Bookmark Title name [ if i want to delete this] How?
From front end they only send Json Format with index position which is to be delete?

Please Explain How?



We are afraid this may not be achieved yet. However, a ticket with ID PDFNET-46540 is logged in our issue management system for further investigations. We will let you know once any update will be available in this regard.


Don’t be Afraid of any thing,Everthing is possible, Please Update with the newer version of this Feature,

Delete bookmark based on [ Parent position > Child position > Child position …]
public boolean Delete(int[] position){
//Based on position
return true/false;



Thank you for your kind feedback.

We will be investigating it and will let you know once any update is available in this regard.