Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
4155
WPF Need to save report(s) as PDF and print them MVVM
posted

Can someone provide a sample project that shows how i can save multiple PDFs and print them as well?  Apparently the only way to do this is to have  a Visibility=Collapsed XamReportViewer (so it is not seen by the user).  I need to select one or several invoices, and provide that data for each report, then save them as PDF and print them as well.  Every example IG has given me is code-behind and refers directly to the XamReportViewer to make the calls to export or print.  

ie: 

dynamic exporter = new ExportTasks(xamReportViewer1);  <-- how can i do this in mvvm!?
            exporter.Start();
Parents
No Data
Reply Children
No Data