We are trying to create docx file from pdf
We have used following code
- Code: Select all
PdfDocument doc = new PdfDocument();
doc.LoadFromFile(pdfFilePath);
doc.SaveToFile(docxFilePath, FileFormat.DOCX);
Problem is, in the resultant docx file, fonts are different, even some text overlaps,
some gray backgound is also added.
I have attached simple pdf and converted docx file in the attachment
Please guide us in a correct way, so we can get the docx file exactly like pdf.