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

Convert HTML form to PDF form using WebKit HTML converter

Platform: ASP.NET MVC (Classic) |
Control: PDF
Tags: htmltopdf, webkit

Converting HTML form to PDF form is possible by using WebKit based HTML to PDF converter, please use the below code snippet to achieve this.

Assemblies Required




4)QtBinaries folder

All the above mentioned assemblies can be get by installing the WebKit installer available in the below link.

WebKit HTML Converter: https://www.syncfusion.com/downloads/latest-version

Feature Supported version: and later

Code snippet:



// Create a HTML to PDF converter object with default settings

HtmlToPdfConverter htmlConverter = new HtmlToPdfConverter(HtmlRenderingEngine.WebKit);

WebKitConverterSettings webKitSettings = new WebKitConverterSettings();


//Set WebKit path

webKitSettings.WebKitPath = @"../QtBinaries";


//Set Enable form to convert HTML form to PDF form

webKitSettings.EnableForm = true;


htmlConverter.ConverterSettings = webKitSettings;


//Convert URL to pdf using the settings above

PdfDocument document = htmlConverter.Convert("Input.html");       


// Save and close the document.





Working Sample can be downloaded from the below link.


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