Hello,
Thank you for your inquiry.
Please note that converting docx to PDF is a Spire.Doc feature. I tested with Free Spire.Doc for .NET Version:10.2 and Spire.Doc Pack Version:10.1 respectively, but none of them reproduced the issue you mentioned. In addition, our Spire.Doc supports the following two methods to convert docx to PDF.
1) the PS method:
- Code: Select all
Document document = new Document();
document.LoadFromFile("input.docx");
ToPdfParameterList ps = new ToPdfParameterList();
ps.UsePSCoversion = true;
document.SaveToFile("result2.pdf",ps);
2) the New engine method:
- Code: Select all
Document document = new Document();
document.LoadFromFile("input.docx");
document.UseNewEngine = true;
document.SaveToFile("result2.pdf",FileFormat.PDF);
Please try the above two methods first. If the issue still exists after trying, please provide the following information for us to investigate. You could attach them here or send them to us via email (
[email protected]). Thanks in advance.
1) Your input Word file.
2) Your complete test project.
Sincerely,
Annika
E-iceblue support team