2

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:

Tom Deleu
  • 1,177
  • 1
  • 15
  • 29

1 Answers1

0

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
  • 1,978
  • 1
  • 16
  • 36
  • I am in a similar position. I can understand MS in general might aim for other reporting technologies but in instances like this @scottbarnes, I think it's more of a "document" semantic which then means using reporting technology to do this is a workaround. I know this is old, but I still haven't found proper information on this. =) Wonder if anyone has an answer? – hg lim Jun 25 '14 at 07:01