Articles in this section
Category / Section

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

2 mins read

 

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

C#

HtmlConverter html = new HtmlConverter();

//Activate the JavaScript

html.EnableJavaScript = true;

VB

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,

https://www.syncfusion.com/support/user/uploads/JavaScript_f7b34583.zip.


Conclusion:

I hope you enjoyed learning about how can I activate I JavaScript code while converting Html/Web pages.

 

You can refer to our Flutter PDF feature tour page to learn about its other groundbreaking features and documentation, and how to quickly get started with configuration specifications. You can also explore our Flutter PDF Flutter PDF examples to understand how to create and manipulate data.

For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion®, you can try our 30-day free trial to explore our other controls.

If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forums or feedback portal. We are always happy to assist you!

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