Click or drag to resize

Enable/Disable Client Scripts and ActiveX from HTML Page

When you use ExpertPdf Html To Pdf Converter, you can specify if the javascripts or ActiveX or plug-ins are allowed to run in the web page that is converted to PDF. The JavaScript code is enabled by default. ActiveX controls (IE rendering engine only) are disabled by default. Plug-ins (WebKit rendering engine only) are enabled by default.

The properties from PdfConverter class which allow you to manage the client scripts and addins when converting to PDF are:

public bool ScriptsEnabled { get; set; }
public bool ScriptsEnabledInImage { get; set; }
public bool ActiveXEnabled { get; set; }
public bool ActiveXEnabledInImage { get; set; }
public bool PluginsEnabled { get; set; }