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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to use Pdfium rendering engine in WPF PDFViewer?

Platform: WPF |
Control: PdfViewer |
Published Date: March 7, 2018 |
Last Revised Date: July 28, 2021

From and higher versions of Essential Studio release, the PDF viewer control provides a robust rendering of PDF document using PDFium rendering engine. Use the following steps to use Pdfium rendering in Syncfusion WPF PDF viewer.

  1. Copy the Pdfium assembly’s folder to a local folder from the installation path. The folder name must be “Pdfium”.


The Pdfium assemblies will be available in

{$SystemDrive}:\Program Files (x86)\Syncfusion\Essential Studio\{Essential Studio version}\Pdfium


Copy PDFium assembly folder


The Pdfium folder contains two folders such as X86 and X64, and both folders contain pdfium.dll assembly for the respective architecture. The Syncfusion PDF viewer is designed to detect the architecture of the target machine where it is deployed and will pick corresponding pdfium.dll to use it.


Opened the PDFium folder


  1. The ReferencePath property of the PDF viewer should be set to locate the “Pdfium” folder.


The following code snippet illustrates this.

PdfViewerControl viewer = new PdfViewerControl();
//Set the reference path of Pdfium assemblies
viewer.ReferencePath = @"D:\Reference path";
//Set the rendering engine of PDF viewer to Pdfium
viewer.RenderingEngine =PdfRenderingEngine.Pdfium; 
//Load the PDF document in PDF viewer.


View sample in GitHub.


2X faster development

The ultimate WPF UI toolkit to boost your development speed.
You must log in to leave a comment
Jenei Péter
Nov 27, 2018


I think this information is not correct. Let me quote from the documentation:

"ReferencePath Property (PdfViewerControl)

ReferencePath is deprecated"

The C# complier also warns that it is obsolete. The same is true for PdfDocumentView.ReferencePath.

I hope this helps improving the documentation.



Please sign in to access our KB

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

Up arrow icon

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

Live Chat Icon For mobile