Articles in this section
Category / Section

How to print the PDF document as vector images in WPF PDFViewer?

1 min read

You can print the PDF document as vector images to the default printer by using Print() method available in PdfDocumentView or WPF PDFViewer control.

C#

// Create instance of PdfDocumentView
PdfDocumentView pdfDocumentView = new PdfDocumentView()
// Loads the PDF Document
pdfDocumentView.Load("File Name.pdf");
// Silently Prints the document to the Default Printer 
pdfDocumentView.Print();

View sample in GitHub.

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied