Click or drag to resize
Pdf Library for .NET

PdfHtmlSectionJavaScriptEnabled Property

Enable scripts when rendering the url or html string.

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

Property Value

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