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 Syncfusion PDF viewer for WF

Platform: WinForms |
Control: PdfViewer |
Product Version:

From to version of Essential Studio release, the WinForms PDF viewer control provides a robust rendering of PDF document using the Pdfium rendering engine. Refer to the following steps to use Pdfium rendering in Syncfusion 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





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




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


Refer to the following code snippet.

string pdfiumPath = @"D:\";
//Set the reference path of Pdfium assemblies
pdfViewerControl1.ReferencePath = pdfiumPath;
//Set the rendering engine of PDF viewer to Pdfium
pdfViewerControl1.RenderingEngine = Syncfusion.Windows.Forms.PdfViewer.PdfRenderingEngine.Pdfium;
if (Directory.Exists(pdfiumPath + "Pdfium"))
    //Load the PDF document in PDF viewer
    //Display the error message, if the Pdfium reference path is invalid.  
    MessageBox.Show("Please provide a valid Pdfium reference path", "Invalid reference path");



Find the demo from https://www.syncfusion.com/downloads/support/directtrac/general/ze/WF-774387065


From 16.3 (2018 volume 3) version of Essential Studio release, “Pdfium” library is embedded with the PDF viewer control. So, it is not necessary to set the reference path to PDF viewer and the default rendering engine of the PDF viewer is made by Pdfium.


2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
You must log in to leave a comment

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