PDF Comparison issue

Not able to compare pdf documents properly…

@kalyani.ambala Could you please attach your input documents for testing? We will check them and provide you more information.

Also, please note, Aspose.Words is designed to work with MS Word documents. MS Word documents are flow documents and they have structure very similar to Aspose.Words Document Object Model. But on the other hand PDF documents are fixed page format documents. While loading PDF document, Aspose.Words converts Fixed Page Document structure into the Flow Document Object Model. Unfortunately, such conversion does not guaranty 100% fidelity.

Regarding PDF document comparison using Aspose.Words, though PDF document might look the same visually, their structure might be different, that leads into the different DOM build by Aspose.Words and as a result the differences in document comparison.

Hi Alexey,

Please find the attached source and target files, we need to compare 2 pdf documents textually and visually.

Kindly check and let us know.




Test1.pdf (13.8 KB)

Test2.pdf (13.2 KB)

@kalyani.ambala 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): WORDSNET-24928

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.


Thanks for opening the ticket, could you please check and provide the required settings or updated binary to check.

And kindly let us know where we can check these tickets status.


@kalyani.ambala You can check status of the issues at the bottom of this topic. We will keep you updated and let you know once the issue is resolved or we have more information for you.

The issues you have found earlier (filed as WORDSNET-24928) have been fixed in this Aspose.Words for .NET 23.3 update also available on NuGet.