Convert PDF to DOCX and compare with other DOCX using .NET

Hi @atirtahir
Am trying to convert a Pdf to Docx and Compare two docx.
As when i convert any pdf to docx output generating as images. It need to be converted in proper format, i need to use that converted docx file for comparison. Can you share me any sample here…

Thanks in advance.

@sreddyD

Please share following details and we’ll investigate this scenario:

  • API version (e.g. 20.2, 20.7) and variant (Java or .NET) that you are evaluating
  • Sample code to convert a PDF to Word
  • PDF and converted/resultant Word file

Hi @atirtahir3
We are using Aspose.Pdf 9.2.1.0 to convert Pdf to Docx, when converting it is saving as Images in Word. Aspose.Word 16.4 and GroupDocs Comaprison 20.7.
Here we need Pdf should be converted in normal text. As now it is converting as Images.

@sreddyD

Please share following details:

  • Sample PDF that is being converted as Images in Word
  • Aspose.PDF code for the conversion process

You can also give a try to GroupDocs.Conversion for .NET 20.7. Have a look at PDF to Word conversion code:

using (Converter converter = new Converter("sample.pdf"))
{
    WordProcessingConvertOptions options = new WordProcessingConvertOptions();
    converter.Convert("converted.docx", options);
}

Later, you can compare the resultant DOCX file.