We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to insert bookmark on specific level into pdf document

Thread ID:





94823 Jun 3,2010 04:27 PM UTC Jun 8,2010 12:14 PM UTC ASP.NET Web Forms (Classic) 1
Tags: PDF
Jason Li
Asked On June 3, 2010 04:27 PM UTC

I have an existing pdf document and want to modify bookmark for it.

For example, current bookmark is like this:

-Chapter 1
--Section 1
----Page 1
----Page 2
------Paragraph 3
----Page 3
-Chapter 2

I want to insert one more bookmark at the very top, and bookmark will be like this:

--Chapter 1
---Section 1
-----Page 1
-----Page 2
-------Paragraph 3
-----Page 3
--Chapter 2

OR insert one new bookmark between "Page 1" and "Page 2", and new bookmark will be like this:

-Chapter 1
--Section 1
----Page 1
----Page 2
------Paragraph 3
----Page 3
-Chapter 2

Thank you.

Angappan G [Syncfusion]
Replied On June 8, 2010 12:14 PM UTC

Hi Jason,

thank you for your interest in Essential Studio.

It is not possible to insert the new bookmark at the top of any level in the bookmark tree but we can manipulate it, we can insert the new bookmark element at any position ( between bookmarks of similar hierarchy) other than top of every level by using "PdfBookmark.Insert()" function. Please refer the sample in the below location for inserting new bookmarks at specific level.

Sample Link:

Please let us know if you have any queries.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon