Hi,
We are evaluating using Aspose for our PDF requirements.
We need to Concatonate a potentially large set of PDF files into one large PDF. While we are concatonating, we need to be creating a bookmark for each new pdf file.
Is there an easy way to do this?
Thanks in advance!
Rich
Hello Rich,
Thanks for considering Aspose.
Aspose.Pdf.Kit has a class named PdfBookMarkEditor which offers number of methods to create Bookmarks in an existing PDF file. I am afraid there no direct method of supporting your requirement but as a workaround, once the PDF files are concatenated, you can create Bookmarks in the resultant PDF using CreateBookmarks or CreateBookmarkOfPage methods, and you can delete the bookmarks that you don't want to keep in file using DeleteBookMarks method.
Or, even you can create Bookmarks based over the contents of XML file and import them into resultant PDF using ImportBookmarksWithXML method.
Please take a look and in case it does not satisfy your requirement or you have any further query, feel free to contact.
For more related information, please visit