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.

Tue Feb 18, 2020 7:29 pm

Hi,

There is an extra broder line appearing when table ends at the bottom of a page. One border ends in one page and extra border appears in the next page.

can you please look into this?

Also, is there any way to programatically find if the table is ending at the bottom of the page or beginning of the page?

Thanks
Manoj

mturumella
 
Posts: 21
Joined: Fri Jan 22, 2016 2:28 am

Wed Feb 19, 2020 6:29 am

Hello,

Thanks for your inquiry.
I found that the cell you marked in the Word document has an empty line, causing the table height to exceed the first page, so there is an extra border on the second page, as shown in the attached screenshot.
To remove the extra border, please delete the empty line. Here I also attached the modified Word document for reference.

And as for "programmatically find if the table is ending at the bottom of the page or beginning of the page" you mentioned, kindly note MS Word is flow document and does not contain any information about its layout into lines and pages. There is no "page" concept. Our Spire.Doc is based on MS Word. Thus, it is impossible to find if the table is ending at the bottom of the page or beginning of the page. Hope you can understand.

Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 1571
Joined: Tue Jul 09, 2019 2:22 am

Return to Spire.Doc