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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Printing PDF Documentt problems

Thread ID:





132086 Aug 13,2017 07:40 AM UTC Aug 14,2017 12:12 PM UTC WPF 1
Tags: PdfViewer
Asked On August 13, 2017 07:40 AM UTC

I readed your documents on "Printing Pdf Document" and I note that "Syncfusion.PdfViewer.Windows.dll" reference not exist while exist "Syncfusion.PdfViewer.WPF.dll" reference.
Your PrintDialog is System.Windows.Controls.PrintDialog or System.Windows.Forms.PrintDialog?
If is it the first, there is not Document property while if is it the second, don't accept a System.Windows.Documents.FixedDocument.
And again the PdfDocumentView haven't a dispose() method.

This is your code in "Documents":

To print a PDF document, the following assemblies have to be added as references to the project.

  1. Syncfusion.Compression.Base.dll
  2. Syncfusion.Pdf.Base.dll
  3. Syncfusion.PdfViewer.Windows.dll

The following code snippet illustrates how to print a PDF document.

"PdfDocumentView viewer = new PdfDocumentView();

//Load the PDF document


//Initialize print dialog.

PrintDialog dialog = new PrintDialog();

dialog.AllowPrintToFile = true;

dialog.AllowSomePages = true;

dialog.AllowCurrentPage = true;

dialog.Document = viewer.PrintDocument;

//Print the PDF document


//Dispose the viewer


If I use l'async method "await viewer.LoadAsync(stream);" it not wait that the loading is complete and PdfDocumentView return a null PrintDocument


Ayswarya Krishna Kumar [Syncfusion]
Replied On August 14, 2017 12:12 PM UTC

Hi Fabio, 
A support incident to track the status of the reported issue has been created under your account. Please log on to our support website to check for further updates.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon