Hello,
Thank you for your inquiry, and sorry for the late reply as weekend.
I simulated a Word file for testing, but did not reproduce your issue. Since you are not using the latest version of Spire.Doc, I suggest you upgrade to the latest version (
Spire.Doc Pack(hot fix) Version:9.11.6) and test again. If the issue still exists after the test, please provide your sample Word file and test environment ( such as OS info (E.g. Windows 7, 64-bit) and region setting (E.g. China, Chinese)) for our further investigation. You could attach them here or send them to us via email (
support@e-iceblue.com). Thanks in advance.
In addition, our Spire.Doc supports the PS method and the new engine method to convert Word to PDF. The sample code is as follows.
- Code: Select all
Document doc = new Document();
doc.LoadFromFile("input.docx");
//Use PS method
ToPdfParameterList toPdf = new ToPdfParameterList();
toPdf.UsePSCoversion = true;
doc.SaveToFile("resule.pdf", toPdf);
//Use new engine method
doc.UseNewEngine = true;
doc.SaveToFile("output.pdf", FileFormat.PDF);
Sincerely,
Annika
E-iceblue support team