We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Print canvas component

It is possible to print a canvas component and your content with Report Viewer or another Syncfusion component?

Thanks,

Diego


1 Reply

NB Nithya B Syncfusion Team May 22, 2015 07:38 AM UTC

Hi Diego,

Thank you for using Syncfusion products.

Query
Response
It is possible to print a canvas component
You can print a WPF Panel/canvas element using PrintVisual method available in PrintDialog. Kindly refer the following sample to print the Panel/canvas.
http://www.syncfusion.com/downloads/support/forum/118757/PrintingTest-1530370853.zip


Please refer the following for more details on this.
https://msdn.microsoft.com/en-us/library/ms742418%28v=vs.110%29.aspx


https://social.msdn.microsoft.com/Forums/vstudio/en-US/a95af594-170c-40a3-8497-d922da7b3773/convert-a-wpf-grid-into-a-flowdocument-for-paginated-printing?forum=wpf


https://msdn.microsoft.com/en-us/library/system.windows.controls.printdialog.printvisual(v=vs.110).aspx
https://code.msdn.microsoft.com/windowsdesktop/WPF-Printing-Overview-f28c541a


Print your content with Report Viewer
You can print a report data(RDL/RDLC) using the “Print” options available in ReportViewer tool bar. Please refer the ReportViewer online documentation from the following location.
http://help.syncfusion.com/ug/wpf/Documents/overview57.htm

And also you can find the locally installed ReportViewer sample from the following location.
<<InstallationDrive>>\ Syncfusion\ EssentialStudio\ 13.1.0.21\ WPF\ Reports.WPF\ Samples\



Please let us know if you have any questions.

Regards,
Nithya

Loader.
Live Chat Icon For mobile
Up arrow icon