I’m developing an application that merges multiple pdf files into one along with the bookmarks for each file. I need to outsource one of the functions because I'm not able to figure it out myself.
The file I generate looks like this: [login to view URL]
The file with toc should look similar to this (layout, not the font style): [login to view URL]
What you will be doing is creating the table of contents that goes on the first page.
The requirements are:
-The toc will be based of the bookmarks.
-The toc text will be linked to the proper page so the user can click on the text to go to the page.
-The existing bookmarks in [login to view URL] must remain.
-The page numbers are already calculated, so do don't have to worry about that.
-The working code must be part of the VB.Net project files I give you. I've tried several snippets without any luck; I would like it to just work without me having to adapt the code.
If you have any questions just ask me.