Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Wed Apr 19, 2023 7:43 pm

Document SPD = new Document("D:\\13154737_13-52-24.doc");
SPD.SaveToFile("D:\\13154737_13-52-24.pdf", Spire.Doc.FileFormat.PDF);

using last version of Spire.Office Platinum (Version:8.4.0)

I will send document by email.

sserra
 
Posts: 76
Joined: Tue Jun 13, 2017 4:03 pm

Thu Apr 20, 2023 6:47 am

Hi,

Thank you for your inquiry.

I have reproduced the issue you reported regarding the blank space when converting Word to PDF document. I have recorded this issue in our issue tracking system with the issue tracking number SPIREDOC-9312. We apologize for any inconvenience this may have caused.

I have tested your document using the code you provided, and the resulting PDF document is consistent with your Word document. This solution uses our old interface for converting Word to PDF, which can be used as a temporary workaround. The code used is as follows:

Code: Select all
Document doc = new Document(false);
doc.LoadFromFile("F:\\test.doc");
doc.SaveToFile("F:\\test.pdf", Spire.Doc.FileFormat.PDF);


Once issue SPIREDOC-9312 is resolved, we will provide you with a new version.

Sincerely,
Ella
E-iceblue support team
User avatar

Ella.Zhang
 
Posts: 42
Joined: Fri Apr 07, 2023 7:42 am

Return to Spire.Doc