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

Free Support Forum - aspose.com

Xmp metadata getting erased

I am using PdfFileEditor to append 2 pdf files.

"pdfEditor.Append(stream1, stream2, 1, 1, newFileStream);"

the first file (represented by stream1) has a xmp metadata value added. But when I check the newFileStream, i get the pdf’s appended, but the metadata value is missing.

Is there any way to preserve the xmp metadata values ?

Hi Sanjay,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Please share the template PDF documents you are using to show the issue. We will check it and get back to you soon.

Thank You & Best Regards,