Click or drag to resize
Pdf Library for .NET

HtmlToPdfOptionsJavaScriptEnabled Property

Enable scripts when rendering the url or html string.

Namespace:  SelectPdf
Assembly:  Select.HtmlToPdf (in Select.HtmlToPdf.dll) Version: 23.1
Syntax
public bool JavaScriptEnabled { get; set; }

Property Value

Type: Boolean
Remarks
The default value of this property is true and the converter will run any javascript available when the page loads.

Note: If the javascript requires some time to load, MinPageLoadTime property should be set to delay the conversion with the specified number of seconds and allow the javascript to run.

See Also