When trying to convert a Word document to PDF using the conversion tool on your website, the conversion goes well.
But, when converting in our demo application, we got a totally different result.
Check the image bellow, the left side is a screenshot of the Word document and the right side is a screenshot of the PDF generated.
We tried using Spire.Office version 3.10.3, 3.10.2, 3.6.0 and 2.16.27 from Nuget and downloading the DLL's directly from your website, the result is always the same.
Basically, this is the code snippet we are using to do the conversion:
- Code: Select all
var document = new Spire.Doc.Document();
document.LoadFromFile(@"C:\temp\demo.docx", Spire.Doc.FileFormat.Auto);
document.SaveToFile(@"C:\temp\demo.pdf", Spire.Doc.FileFormat.PDF);