views:

40

answers:

1

What is the best way to print a complex layout spanning multiple pages in WPF? (for example an invoice layout spanning multiple pages because of many invoice items)

I'm guessing one of these methods would do:

A: 

I typically use dynamic insertion of Pages into the FixedDocument control. I created a empty view and then dynamically load in UserControls that represent each pages "body" with their respective binding(s). The downside is you have to create your own poormans virtualization for dataset reprots (ie show 12 rows per page with a MOD 12 calculation etc) type thing.

Reports are low priority on the WPF teams Radar so this really hasn't got a lot of knowledge base around it at present and the future isn't so bright either.

Scott Barnes