Type Default Value Read Only Description
[C#]
IHtmlChromeOptions

[Visual Basic]
IHtmlChromeOptions
n/a Yes An object that provides access to only the HTML options supported by the ABCChrome engine.

 

   

Notes
 

The HTML options supported by the ABCChrome engine.

Supported methods

Supported properties

 

   

Example
 

[C#]
Doc doc = new Doc();
doc.HtmlOptions.Engine = EngineType.Chrome;
doc.HtmlOptions.ForChrome.AddLinks = true;

// You can store a reference to the filter to reduce code repetition
IHtmlChromeOptions options = doc.HtmlOptions.ForChrome;

options.UseScript = false;
options.AddTags = true;

doc.AddImageUrl("http://www.websupergoo.com");
doc.Save(Server.MapPath("wsg.pdf"));

[Visual Basic]
Dim theDoc As Doc = New Doc()
theDoc.HtmlOptions.Engine = EngineType.Chrome
theDoc.HtmlOptions.ForChrome.AddLinks = True

' You can store a reference to the filter to reduce code repetition
Dim theOptions As IHtmlChromeOptions = theDoc.HtmlOptions.ForChrome

theOptions.UseScript = False
theOptions.AddTags = True

theDoc.AddImageUrl("http://www.websupergoo.com")
theDoc.Save(Server.MapPath("wsg.pdf"))