PDFsharp & MigraDoc Foundation http://forum.pdfsharp.com/ |
|
What are the best ways to deal with these PDFSharp table lim http://forum.pdfsharp.com/viewtopic.php?f=2&t=3802 |
Page 1 of 1 |
Author: | johntimber [ Fri Jun 22, 2018 9:15 am ] |
Post subject: | What are the best ways to deal with these PDFSharp table lim |
Hi, I am using PDFSharp to export a table to PDF. It works great except I ran into a few issues: if the content of a single cell in the table is longer than the height of the page it seems like the content just gets cut off. A table itself can span multiple pages but a row seems like it can only be 1 page high and It seems like it doesn't extend onto the next page.Is there any workaround to this or is this just a bug in the library? Also for tables that span multiple pages, is there a way to have the header row on the table show up at the top of every page? Please help. I didn't find the right solution from the Internet. References:- (References deleted by moderator because they looked like SPAM) |
Author: | () => true [ Fri Jun 22, 2018 7:09 pm ] |
Post subject: | Re: What are the best ways to deal with these PDFSharp table |
Hi! PDFsharp does not create table. MigraDoc creates tables - and it has the limitation that rows do not break across pages. If a single row exceeds a page then in most cases a table is not the appropriate format anyway. It can help to use pages in landscape orientation - pages can have oversize. Increasing the width of the columns will in most cases reduce the height of each row. Set "row.HeadingFormat = true;" for rows you want to have repeated on each page. Reference: http://pdfsharp.net/wiki/Invoice-sample.ashx |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |