Hello,
Thanks for sharing the information via email.
Since I did not receive the source word file and the resulting PDF file you provided, I simulated a word file and did an initial test, but did not reproduce your issue. For converting word to PDF, we also provide a new engine method, the sample code is as follows:
- Code: Select all
Spire.Doc.Document document = new Spire.Doc.Document();
document.LoadFromFile(sourcePath, Spire.Doc.FileFormat.Auto);
document.UseNewEngine = true;
document.SaveToFile(file, Spire.Doc.FileFormat.PDF);
Please try the above method. If the issue still exists after trying, please provide your source word file for us to investigate further. Thanks in advance.
Sincerely,
Annika
E-iceblue support team