Internal links stop working after copying pages to new PDF

Hello,

It seems, that internal links stop working after I copy PDF pages to new PDF file.

The source PDF file, the screenshot image with one highlighted link, that stop working and my code snippet are below.

Could upi please tell me if I could change my code snippet to avoid this issue?

Mikhael

petstore.pdf (146.7 KB)

image.png (116.1 KB)

Dim sSrcPdf = "C:\In\petstore.pdf"
Dim sOutPDF = "C:\Out\aspose out.pdf"

Using pdfiumDoc = New Aspose.Pdf.Document(sSrcPdf)
    Using pdfiumDocOut = New Aspose.Pdf.Document()
        pdfiumDocOut.Pages.Add(pdfiumDoc.Pages)
        pdfiumDocOut.Save(sOutPDF)
    End Using
End Using

@Mikhael

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFNET-58630

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.