Click or drag to resize
Pdf Library for .NET

HtmlToImageJavaScriptEnabled Property

Enable scripts when rendering the url or html string.

Namespace:  SelectPdf
Assembly:  Select.Pdf (in Select.Pdf.dll) Version: 24.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