Large document curropted

When using PDFeditor concatenate to combine multiple files to one file, the final document is corrupted. We are not seeing a specific exception during this function. After this function we are attempting to open the document again using Aspose utilities, but the corrupt document is not throwing a exception. Is there a way to enable debug logging to diagnose the specific issues?

We are using Aspose.Total 18.11

Thank you,
Chris

@cfavNQ

Thanks for contacting support.

Could you please try using DOM approach to concatenate PDF documents with Aspose.PDF for .NET 19.5. In case you still face any issue, please share your sample PDF documents with us. We will test the scenario in our environment and address it accordingly.

Hi @asad.ali, thank you for the reply.

Could you elaborate a little more on the “DOM approach”?

@cfavNQ

Document Object Model (DOM) is a form of representation of structured documents as an object-oriented model. For further information on this, you may please visit Introduction to DOM API article in our API documentation.