I am creating a Flowdocument
with several Paragraphs
dynamically, in order te take advantage of the Paragraph
's KeepTogether
property. In this way the paragraphs will never be split across two pages when printing.
The paragraphs will have different size between two printjobs, but within a single print job they will always have the same size. I want to take advantage of this by adjusting the numbering of the paragraphs so that the first paragraph on each page will be consecutive to the number of the first paragraph on the previous page.
To be able to do this I need to know how many paragraphs will fit on one page. How can I do this?