Closed anandababu-annadurai-anth closed 5 months ago
@anandababu-annadurai-anth
We believe that we have already responded to your similar inquiry in our official support forum. We have logged an issue in our issue tracking system and have linked it to the forum thread as well. You can please keep following up there and we will also keep you posted on issue progress there.
Sure..Thanks for your response. I will followup on the support forum.
Hi Team,
While converting the PDF into docx file using aspose.pdf for .net package,the converted document has alignment issues and font mismatch in few places. The PDF has graphik font, in the converted docx file, the font is getting replaced with other font only in few places.
Please find the below code, passing the pdf file as stream and converting it to docx/doc with help of Aspose.pdf package.
Kindly help on these issues.
Document document = new Document(stream); document.DisableFontLicenseVerifications = true; . . byte[] data; using (var ms = new MemoryStream()) { if (fileType.ToLower() == “docx”) document.Save(ms, SaveFormat.DocX); else document.Save(ms, SaveFormat.Doc); data = ms.ToArray(); } return data;
Converted docx file issues:
Source PDF file: IRCY11502477.pdf