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 install WebKit HTML converter using NuGet package manager

It is possible to use the WebKit HTML converter nuget packages. Please refer below link for installing nuget packages,

UG: https://help.syncfusion.com/extension/syncfusion-nuget-packages/nuget-install-and-configuration

After installing HTML to PDF converter nuget package, please copy the QtBinaries folder from package location to bin folder of the project (or) Set the path of the QtBinaries folder to WebKitPath property of WebKitConverterSettings.

The QtBinaries folder available in the nuget package installed location

Example: $Drive:\Project_Folder\packages\Syncfusion.HtmlToPdfConverter451.15.1.0.41\lib\net451\

Please refer below screen shots:

  1. Add resource path in nuget package manager.

  1. Install Syncfusion.HTMLToPdfConverter nuget package with required version.

  1. After installating WebKit HTML converter as nuget, you can get QtBinaries (WebKit assemblies) from pakage installed location.

Article ID: Published Date: Last Revised Date: Platform: Control:
7856 07/14/2017 07/14/2017 ASP.NET MVC PDF
Did you find this information helpful?
Comments
Jorge Daniel Lemes Nov 29, 2017

I have a problem in production and integrated security only when the user is a server administrator, the other users do not convert :(

Apparently he works with administrator permissions, which is impossible for a web application on IIS, can it be?

Reply
Prakash Viswanathan [Syncfusion] Nov 30, 2017

Hi Jorge,

 

While converting HTML to PDF, our WebKit HTML converter generates temporary files on temp folders. So, it requires full access permission to the temp folder for respective user group. By default, WebKit HTML converter gets system temporary folder for creating temporary files for conversion. Please refer the example of default temporary folder and make sure below path has elevated permission for the respective user.

 

  • C:\Users\<>\AppData\Local\Temp
  • C:\Windows\Temp

 

For converting HTML to PDF in IIS, we need to provide full access permission to the temp folder (C://windows//Temp//) for computername/IIS_IUSRS user group. If still you are facing the same error, please provide us the error logs, code snippet and environment details through the Syncfusion Direct-Trac support system.

 

Regards,

Prakash V

Reply
ruby Jul 27, 2018

所以要付費??

Reply
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.