PDFsharp & MigraDoc Foundation http://forum.pdfsharp.com/ |
|
Double Border On Table http://forum.pdfsharp.com/viewtopic.php?f=2&t=4332 |
Page 1 of 1 |
Author: | aaronveach [ Mon Mar 21, 2022 2:49 pm ] |
Post subject: | Double Border On Table |
Hi, What is the best way to create a "double border" on a table. I have seen some old posts here (from 2006) saying it wasnt YET supported, but hoping it is now. However, looking at the options in the EDGE and BORDERSTYLE classes, I am not seeing anything. So then I was thinking that I could just create a slightly larger "outer" table, add a single column/row/cell to that and then set a single border there, then add my "main" table that has a single border to the CELL in the "outer" table, but is that really the best way? I found the below post, which seems to indicate that this solution really wont work well due to Cells not page breaking within a cell. https://stackoverflow.com/questions/363 ... ted-tables Has this "double border" for a table been accomplished by anyone? P.S. By "double border" I just mean two parallel single border lines, with a small space/gap between them. |
Author: | aaronveach [ Mon Mar 21, 2022 9:28 pm ] |
Post subject: | Re: Double Border On Table |
As an update, I was able to get a "double border" by nesting my main table within a cell in an outer table and tweaking padding and width a bit, but as the link provided above indicates, the problem is that when my inner table is longer than will fit on the remaining page space, it breaks to a new page regardless of how much space there is still available on the current page. Apparently it doesnt want to "split" the cell to the next page. I have tried setting the KeepTogether properties on both the outer and inner tables, but the cell functionality seems to take precedence. Any ways around this or am I just taking the wrong approach completely? Thanks |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |