We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Merge PDFS: losing Tags

I used below code to merge two pdf files.1.PDF (58.2 KB)
Expecting that generated pdf filemerged.pdf (115.5 KB)
will preserve the tags. But we are losing tag information when we create a merged pdf. Kindly help. Thank you.

PdfFileEditor pdfEditor = new PdfFileEditor();
pdfEditor.concatenate(“1.pdf”, “1.pdf”, “merged.pdf”);


Thank you for contacting support.

We have investigated the data shared by you and have figured out that shared PDF document 1.PDF is not a tagged PDF document which can be verified from Document properties as well as from Tags option under View menu so generated document can not be a Tagged document either. 1.JPG

We hope this will be helpful. Please feel free to contact us if you need any further assistance.