Type Description
[C#]
IHtmlGeckoOptions

[Visual Basic]
IHtmlGeckoOptions
An object that provides access to only the HTML options supported by the Gecko HTML engine.

 

   

Notes
 

Supported methods

Supported properties

   

Example
 

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

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

options.AddLinks = 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.Gecko
theDoc.HtmlOptions.ForGecko.AddLinks = True

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

theOptions.AddLinks = True

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