1

I have tried document viewer control and flow document control for print preview in wpf. But it doesn't working in my case. So how it is possible printpreview in wpf?

Ray
  • 45,695
  • 27
  • 126
  • 169
Hardik Kothari
  • 151
  • 1
  • 19
  • Not an exact duplicate, but have you looked at my question and answer? http://stackoverflow.com/questions/584551/how-do-i-do-print-preview-when-using-a-documentpaginator-to-print – Ray Dec 30 '11 at 09:25
  • If you want any more answer than that, you're going to have to show what you've done and be a bit more specific about "it doesn't work". – Ray Dec 30 '11 at 09:26
  • I am not able to find RowPaginator.So can you please explain me how to use this. – Hardik Kothari Dec 30 '11 at 09:40
  • RowPaginator is my own class (which I've put in the question). I don't think you need it. Have a look at this question: http://stackoverflow.com/questions/2322064/how-can-i-produce-a-print-preview-of-a-flowdocument-in-a-wpf-application – Ray Dec 30 '11 at 10:00
  • Thanks for replying :) In your code snippet I am not able to understand "_parent.FindName("fdsv1")". Is it your another control or something like that? – Hardik Kothari Dec 30 '11 at 10:15

0 Answers0