PDFsharp & MigraDoc Foundation https://forum.pdfsharp.net/ |
|
Automatic pagingation and line breaks https://forum.pdfsharp.net/viewtopic.php?f=2&t=599 |
Page 1 of 1 |
Author: | kiwiJohn [ Wed Jan 07, 2009 3:32 am ] |
Post subject: | Automatic pagingation and line breaks |
Hi, Having studied as much documentation and "sample projects" in Particular "Hello MigraDoc" and "paragraphs" I am still in the dark as to how MigraDoc "automatically" inserts page breaks and line breaks. I have a couple of PDF pages being rendered except on the first page the block of text is perfectly 'paragraphed' but on the following page using a similar process, text is output as a single line that disappear of both sides of the page! Is there a special character(s) that need to be inserted in the text so MigraDoc knows where words and/or sentences end so that wrapping can occur?? Thanks in advance John |
Author: | kiwiJohn [ Wed Jan 07, 2009 9:03 pm ] |
Post subject: | |
I have found the problem. Altho there is probably something i could do to use only 1 doc renderer... I had omitted to call docRenderer.PrepareDocument(); on the second page. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |