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

Table of Content at the beginning of the document

Thread ID:





106852 Jan 29,2013 06:08 AM UTC Feb 4,2013 04:57 AM UTC ASP.NET MVC (Classic) 1
Tags: PDF
David Treves
Asked On January 29, 2013 06:08 AM UTC


Is there an elegant way to build a ToC? I mean, can I, while I generate the content embed bookmarks, which then can be linked to in a ToC that I will add at the beginning of the document?

This poses a few interesting challenges and I'm not sure it's doable:
  1. Each such "bookmark" should have a name that the ToC will use.
  2. The page number will be determined by the framework when it generates the ToC (it knows where the "bookmarks" are and what's their name).
I don't think there's a built-in feature for that, but is there a common practice to achieve that?


George Livingston [Syncfusion]
Replied On February 4, 2013 04:57 AM UTC

Hi David,

Thank you for your update.

Yes, it is possible to link the table of content with bookmarks. This can be achieved by using PdfLightTable. Please find the sample available in the link below to achieve your target,


Please let us know if you have any questions.




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