I belive if you use MigraDoc API that comes with PdfSharp to construct you document then automatic paging is done for you automatically when you render the document.
What you need is create a doucment, add a Section to the document, then from the Section object you can create a Paragraph object and assign your unknown length of text as the content. Then all you need to do is render the document and you have your pdf document with the text flowed over multiple pages.
The examples from the download package should be sufficient to show you how you can do all these.
Hope this helps.
Paul
|