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.

Sun Nov 14, 2021 6:03 am

Hi
If the Word file is designed as follows:
Step 1: Create a table
Image
Step 2: merge multiple records
Image
Step 3: I am hiding a series of rows
Image
When I use this file in spire doc and convert it to PDF, the output is as follows
Image
I hid the lines but it will be displayed again :(

kajooshii
 
Posts: 1
Joined: Tue Jan 05, 2021 5:45 am

Mon Nov 15, 2021 3:11 am

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
User avatar

Annika.Zhou
 
Posts: 1643
Joined: Wed Apr 07, 2021 2:50 am

Return to Spire.Doc