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

Free Support Forum - aspose.com

Compare two PDF files using .NET

Hi,

We are exploring Aspose for the comparison of PDF documents, we would like to have a Word Style comparison where new additions will be indicated in red, deleted text will be striked-off, same text is represented as green. This comparison is of 2 PDF files, similar to versions of same document but additions/deletions from the old file. In aspose, we have found code snippets to compare 2 word documents, which mostly suites our requirement but could did not find similar comparison with PDF docs, do you have an example code snippets of such comparisons please?

Also, we may also like to have an search in PDF dynamically and possible clipping of text, image or table from PDF

Thanks,
Khaled

@Khaled2020

We are afraid that Aspose.PDF for .NET does not provide any functionality to compare two PDF documents with all indications that you have mentioned. However, a feature request has been logged in our issue tracking system as PDFNET-48636 in order to investigate whether such functionality is feasible or not. We will investigate the possibilities to implement such feature and inform you as soon as it is available or we have some updates in this regard. Please give us some time.

We are sorry for the inconvenience.

@asad.ali Any update on this ticket, PDFNET-48636 please ?

From the information on the link below, you say that PDF’s can be compared programmatically, can you please guide related docs or trial application to further explore the PDF compare features?

@Khaled2020

Sadly, the logged ticket is not yet resolved and as soon as we have some updates regarding its resolution, we will inform you. Please note that two identical looking PDFs can also be different in their structure. Therefore, the implementation of the compare feature may take significant amount of time.

Please note that Aspose online apps are representation of how different Aspose products (including other ventures like GroupDocs) can be used in the code behind to implement some functionality or workaround. As far as your inquiry is concerned, we request you to please create a post in Aspose Apps Forum where you will be entertained accordingly.