How do I detect the end of a page in a fixed document in WPF? I want to be able to print a list of customers, but I'm not sure how to tell when to create a new page.
Do I guess? i.e. If i think that 50 customers will fit on the page then I only get the first 50 and then create a new page and display the rest on the second page.
Also, when printing multiple pages, can I have a header and footer on a fixed document?