Dear Anil,
Thanks for your feedback.
Did you try the following new method to do merge? Did the issue still happen?
I did a simulation of your case but didn't face the issue you mentioned. Different PDF documents have different structures and elements. Maybe your PDF documents contain special elements or structures which cause the issue. But our testing library does not have documents with the same structures yet, so we haven't reproduced your issue. We are so sorry for the inconvenience caused. We need your documents to locate the root of your issue quickly and accurately. Don't worry, we promise to keep your documents confidential and we will not use them for any other purpose. Besides, you could also remove the security data of your document as long as the modified documents can reproduce your issue and send them to our email (
[email protected]). Thanks for your cooperation.
- Code: Select all
String[] files = new String[] { filepath1, filepath2 };
PdfDocumentBase doc = PdfDocument.MergeFiles(files);
MemoryStream mem = new MemoryStream();
doc.Save(mem);
Sincerely,
Nina
E-iceblue support team