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

How to export the PDF document into images in ASP.NET Core using Pdfium rendering engine?

At present we do not have support for PDF Viewer in ASP.NET Core. However, you can export pages of the PDF document as images in ASP.NET Core using the Pdfium rendering engine. Find the code snippet for the same below,

 

Code Snippet:

 

Sample link:

http://www.syncfusion.com/downloads/support/directtrac/general/ze/ExportAsImage-1859727000

 

Note: The above sample will work in Windows OS only, the support for Linux and Mac will be included along with the support for PDF viewer in ASP.NET Core.


Follow the below steps to use Pdfium

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

2.The Pdfium assemblies will be available in {$SystemDrive}:\Program Files (x86)\Syncfusion\Essential Studio\{Essential Studio version}\Pdfium

http://www.syncfusion.com/downloads/support/directtrac/205256/1476405294_37e7274e.PNG 


 

Note: Only 16.1.0.24 and higher versions of Essential Studio release will contain Pdfium assembly folder. The Pdfium folder will contain two folders namely X86 and X64, both would contain 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 would pick corresponding pdfium.dll to use it.  

   


  

  

  

  

  

Article ID: Published Date: Last Revised Date: Platform: Control:
8867 06/22/2018 06/22/2018 ASP.NET Core PdfViewer
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.