PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

Page Break on Table
https://forum.pdfsharp.net/viewtopic.php?f=2&t=1656
Page 1 of 1

Author:  pao.lino [ Fri May 13, 2011 8:41 pm ]
Post subject:  Page Break on Table

Hi,

I'm using MigraDoc.
I have a table with a lot rows so table is splitted over a few pages.
For the table cells I set bottom border none (width = 0). Only the last table row has a bottom border (width = 2).
The problem is that on pages where table is splitted the last row on the page (not the last table row) has no border bottom.
Is there a way to catch the last row on page in order to give it a border bottom?
I hope to have made myself clear.

Thank you for your help

Paolo

Author:  shooter [ Thu Sep 15, 2011 12:32 pm ]
Post subject:  Re: Page Break on Table

I have this exact problem. Did you ever work it out?

Author:  mitja.GTI [ Tue Sep 20, 2011 3:29 pm ]
Post subject:  Re: Page Break on Table

Hi,

this will change the last rows bottom border width
Code:
Table tbl = section.AddTable();
tbl.Rows[tbl.Rows.Count-1].Borders.Bottom.Width = 1;

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/