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

HtmlConverter Class

Thread ID:





104195 Jun 28,2012 06:56 AM UTC Aug 22,2013 04:44 AM UTC ASP.NET MVC (Classic) 5
Tags: PDF
Angel Montero Rojas
Asked On June 28, 2012 06:56 AM UTC

First of all, sorry for my English.

I need to convert html to pdf file. I have Syncfusion Essential Studio, but I can't instantiate the HtmlConverter class .
From where I can add this reference to my project?
Thanks in advance

Geetha M [Syncfusion]
Replied On June 28, 2012 07:34 AM UTC

Hi Angel,

Thank you for your interest in Syncfusion products.

HtmlConverter makes use of WebBrowser control internally which can run only in STA mode. Hence you need to make use of the following code to facilitate conversion process:

var t = new Thread(Detail);




I had placed a simple sample demonstrating the same in the following link:


Please try this and let us know if you have any questions.



Angel Montero Rojas
Replied On June 28, 2012 10:02 AM UTC

[Updated on 6/28/2012 5:10:33 AM by: angelmontero@monrojan.net]
Thanks for the quick response.
I have reviewed the file "Syncfusion.AssemblyManager.40.txt" and GAC assemblies, and in the log there is an installation error:
"Warning: Assembly : Syncfusion.HtmlConverter.Base Framework : 40 Action: File not found in the disk path :C:\Program Files (x86)\Syncfusion\Essential Studio\\precompiledassemblies\\4.0\Syncfusion.HtmlConverter.Base.dll Status: failure."
In % windir% \ Assembly" there is no such dll.
The product I have is Syncfusion Essential Studio ASP.NET MVC Edition Binary obtained through CampusMVP.
Is it possible to be a promotional product does not contain those assemblies?
Syncfusion.AssemblyManager.40.txt attached file.
Thanks in advance.


Sivaguru S [Syncfusion]
Replied On June 29, 2012 07:42 AM UTC

Hi Angel,

Thanks for using Syncfusion products.

We have updated the details for the reported query in the support incident 96034.Please refer the incident for further followup.

Please let us know if you have any queries.

Sivaguru S

Replied On August 14, 2013 09:29 AM UTC

Here is the demo code to convert to html:
namespace RE__Test
public partial class Form1 : Form
public Form1()

private void button1_Click(object sender, EventArgs e)

RasterEdgeImaging PDF = new RasterEdgeImaging();
public void ConvertPdftoHtml();
PDFInputFile = (@"C:/1.pdf");
PDFPageNumber = "1";
HTMLOutputFile = OutputFormat.html;
PDF.Save("OutputFormat.html", SaveFormat.Html);

Geetha M [Syncfusion]
Replied On August 22, 2013 04:44 AM UTC

Hi Abigail,

Thank you for the details.

Essential PDF does not support exporting PDF files to HTML format. We have logged feature request on this and will back to you once implemented.

Please let us know if you have any questions.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to 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