I have a solution where i take a random number of pdf files and merge into one file. the source pdf files contains bookmarks but there are no bookmarks in the final pdf file. From the documentation I gather that it should be possible to keep bookmarks? <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Yesterday I upgraded the aspose.pdf component to 184.108.40.206 to ensure that I am using the most resent version but that did not change anything.
Am I mistaken when I think it should be possible to keep bookmarks? Is there a limit to the size of the pdf files or…?
Any help would be appreciated.
Below is the code snippet I am using to merge the files so you can see if it is the methodology I am using that is wrong.
Path(s) to pdf files are stored in an array named pdfFiles (as mentioned the number changes all the time)
‘and the files are merged like this:
Dim doc As New Document()
Dim doc1 As Document
For i As Integer = 0 To pdfFiles.Count - 1
doc1 = New Document(pdfFiles(i))
‘and the final file is saved:
doc.Save([path where files goes])