Add in gbook marks

Hi
 
I am creating a single PDF by joining multiple PDFS together and I want to set bookmarks at the top of each page which are clickable from the front page of the final diocument. is this possible.
 
I have tried using the code below but it does nothing
 
kind regards
 
Jonathan

PdfLoadedDocument loadedDocument = new PdfLoadedDocument(addfilename);

loadedDocument.ViewerPreferences.PageMode =

PdfPageMode.UseOutlines;

loadedDocument.CreateBookmarkRoot(PdfBookmark pdfBookMark = loadedDocument.Bookmarks.Add(strSectionname);

pdfBookMark.Destination =

new PdfDestination(loadedDocument.Pages[0]);

docFinal.Append(loadedDocument);

 

 

 

1 Reply

PH Praveenkumar H Syncfusion Team April 7, 2014 04:36 AM UTC

Hi Jonathan,

Thank you for using syncfusion products,

We have created the sample which fulfill your requirement.

The sample is attached for your reference.

Please let us know if you need further assistance.

With Regards,
Praveen

Attachment: MergeWithBookmark_74e471f8.zip

Loader.
Up arrow icon