Yoni Sudwerts

Yoni Sudwerts

  • NA
  • 5
  • 489

Printing a long report in WPF?

Feb 7 2018 9:14 AM
I need to create a dynamic report that spans many pages.
 
The report will be made of an iteration of a custom control (or a listeview not sure yet)
 The height of each iteration of the control may vary. 
Obviously, the total height of the report will vary.
 
I need to print it out in such a way that the whole thing prints, but also, I need to make sure that the page break does not happen inside the control itself. If there isnt enough room for the control, then that iteration should get pushed to the next page.
 
I hope that makes enough sense.
 
Thanks 

Answers (2)