How do I preserve bookmarks when splitting and merging PDF?


When spliting a Pdf that has various bookmarks can I keep the
related bookmarks on the new splited pdf files?

To preserve bookmarks when importing a set of pages from one document
to another (e.g. similar to the last code example in PDFPage sample
project use 'true' as
the second argument to pdfdoc.ImportPages(page_set, true).

Import pages method can be used to implement for both PDF split and
merge operations.