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.
Unfortunately, activation email could not send to your email. Please try again.

Table of Content at the beginning of the document

Thread ID:

Created:

Updated:

Platform:

Replies:

106852 Jan 29,2013 01:08 AM Feb 3,2013 11:57 PM ASP.NET MVC (Classic) 1
loading
Tags: PDF
David Treves
Asked On January 29, 2013 01:08 AM

Hi,

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?

Thanks!

George Livingston [Syncfusion]
Replied On February 3, 2013 11:57 PM

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,

TableOfContent.zip

Please let us know if you have any questions.

Regards,

George


CONFIRMATION

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.

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.

;