Merging documents with bookmarks
This example was originally written in answer to the question Click How to merge PDFs and add bookmarks? for iText5. The code here is a direct port from the iText5 code. Merging documents while maintaining bookmarks in iText7 is done automatically when using the PdfMerger
object.
insertandadaptoutlines
mergewithoutlines
Resources