Add Table of Contents to the PDF

Product: PDFTron.NET.x64

Product Version: 10.1.1

Please give a brief summary of your issue:
Add TOC to the PDF

Please describe your issue and provide steps to reproduce it:
We are using PDFTron for converting the html to pdf document with headers and footers. The app is running in a Linux container. The page numbers on the header are being updated after the pdf is rendered by the chromium dev tools.

Now, we would like to add table of contents to this document, but since the page numbers are rendered by the browser(chrome dev tools) is there a way if pdftron can have the responsibility of adding the TOC after the pdf is rendered? or before that with page numbers linked on the table of contents

I am trying to follow this for now, but seems like it is in node. Is there any example for .net c#?
Please provide a link to a minimal sample where the issue is reproducible:

  • List item
1 Like

Thank you for posting your question to our forum. We will provide you with an update as soon as possible.

1 Like

Hello, can you please provide us with an example HTML document that you are working with, and some screenshots of the expected/actual behavior?

I am trying to follow this for now, but seems like it is in node. Is there any example for .net c#?

It appears that you might have missed the link. Could you please forward the sample you are referring to here?

Thank you in advance for the additional information.

1 Like