Articles in this section
Category / Section

How can I activate I JavaScript code while converting Html/Web pages?

1 min read


We can activate the JavaScript code by setting the property EnableJavaScript of the HtmlConverter class.


HtmlConverter html = new HtmlConverter();

//Activate the JavaScript

html.EnableJavaScript = true;


Dim html As HtmlConverter = New HtmlConverter()

'Activate the JavaScript

html.EnableJavaScript = True

Please do find the sample from the below specified location which demontrates the above specified feature,

Did you find this information helpful?
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment