views:

895

answers:

2

How can you print a Flowdocument Table in WPF with repeatable table column headers?

I have seen this one [http://www.codeproject.com/KB/WPF/PimpedDocumentPaginator.aspx] and it does not work.

A: 

You basically need to paginate the document yourself, in the same fashion that you would word wrap a paragraph of text. Checking to see if the next row will fit, pagebreaking if not, starting each page off with the table header, and continuing to append table rows until the page is full.

Unfortunately none of the paginators does this.

Jason Harrison
A: 

How can you check if the row will fit in the page?

Aldo