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

How to use Pdfium rendering engine in Syncfusion PDF viewer for WPF

Platform: WPF |
Control: PdfViewer |
Published Date: March 7, 2018 |
Last Revised Date: September 12, 2018

 

From 16.1.0.24 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 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

 

C:\Users\sureshm\AppData\Local\Microsoft\Windows\INetCache\Content.Word\85A66790.png

 

Note: 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.

C:\Users\sureshm\AppData\Local\Microsoft\Windows\INetCache\Content.Word\BF6074B2.png

 

 

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

 

The following code snippet illustrates this.

 

Find the demo form http://www.syncfusion.com/downloads/support/directtrac/general/ze/WPF864312441

 

ADD COMMENT
You must log in to leave a comment
Comments
Jenei Péter
Nov 27, 2018

Hi,

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.

Regards,
Peter

Reply

Please sign in to access our KB

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