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

Create merged PDF file with TOC and links

Thread ID:

Created:

Updated:

Platform:

Replies:

97507 Dec 3,2010 01:30 PM UTC Aug 9,2018 11:37 AM UTC WinForms 5
loading
Tags: PDF
Administrator [Syncfusion]
Asked On December 3, 2010 01:30 PM UTC

I'm trying to figure out how to create a merged PDF file that has a cover page containing a table of contents of the merged documents with links to the first page of each merged document.

I looked at the PdfDocumentLinkAnnotation class but I don't know how to get destination for each of the merged files. I'm merging about 30 PDF files with PdfDocument.Merge(files).

Thanks,
-Dave




Selvakumar P [Syncfusion]
Replied On December 6, 2010 11:39 AM UTC

Hi David,

Thank you for using Syncfusion Products.

We can create Table of contents using Essential PDF. We have attached the sample using TOC. Please got through the sample and let us know if you have any questions.

Sample:
http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=747461110431534.zip

Regards,
Selvakumar.


Administrator [Syncfusion]
Replied On December 6, 2010 11:18 PM UTC

In your sample, you use doc.Pages.Add() which returns a PdfPage which you then can use to create a PdfDestination.

But in my case I'm merging PDFs and the Merge method does not return the inserted document, rather it returns the merged document so the destination would always point to the first page.


Selvakumar P [Syncfusion]
Replied On December 7, 2010 06:36 AM UTC

Hi Dave,

Please download the sample, in which we have merged the documents and added the table of contents to it. Please download the same from the link below.

Sample:
http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=97507_forum-39878328.zip

Regards,
Selvakumar.


MrHessellund
Replied On August 8, 2018 01:51 PM UTC

Hi,

I am trying to achieve the same thing (merge documents, create a TOC with internal navigation links to the individual merged documents).

I am unable to download the mentioned sample.

Please advise.

Best regards,
Johannes

KarthikeyanC [Syncfusion]
Replied On August 9, 2018 11:37 AM UTC

Hi Johannes,  
We have created the custom sample for “Create TOC with internal navigation links to the individual merged documents”. Please find the sample for the same from below location, 

Regards, 
Karthikeyan 


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.

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

;