Aspose.pdf some of file not converting and also converted files tables having mismatched format.
string newFilePath = Regex.Replace(filePath, @"(?i)[.]pdf($)(?-i)", ".docx");
Stream stream = new MemoryStream();
using (var doc1 = new AsposePdf.Document(filePath))
{
AsposePdf.DocSaveOptions oOptions = new AsposePdf.DocSaveOptions();
oOptions.Format = AsposePdf.DocSaveOptions.DocFormat.DocX;
oOptions.Mode = Aspose.Pdf.DocSaveOptions.RecognitionMode.EnhancedFlow;
oOptions.AddReturnToLineEnd = true;
oOptions.RelativeHorizontalProximity = 3.5f;
doc1.Save(newFilePath, oOptions);
}