View previous topic :: View next topic |
Author |
Message |
kiwiJohn
Joined: 07 Jan 2009 Posts: 2
|
Posted: 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 |
|
Back to top |
|
|
kiwiJohn
Joined: 07 Jan 2009 Posts: 2
|
Posted: 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. |
|
Back to top |
|
|
|