DotNetBrowser  1.14
Public Member Functions | Properties | List of all members
DotNetBrowser.LoadHTMLParams Class Reference

Parameters that are used in the Browser.LoadHTML(LoadHTMLParams) method. More...

Public Member Functions

 LoadHTMLParams (string html, string textEncoding, string baseURL)
 Constructs a new LoadHTMLParams instance. More...
 
override string ToString ()
 Represent object as string More...
 

Properties

string HTML [get]
 Gets a string that represents HTML content. More...
 
string TextEncoding [get]
 Gets a string that represents encoding of the HTML content. E.g. "UTF-8", "ISO-8859-1" etc. More...
 
string BaseURL [get]
 Gets origin URL of the document that will be used to resolve links with relative path in HTML document. More...
 

Detailed Description

Parameters that are used in the Browser.LoadHTML(LoadHTMLParams) method.

Constructor & Destructor Documentation

DotNetBrowser.LoadHTMLParams.LoadHTMLParams ( string  html,
string  textEncoding,
string  baseURL 
)

Constructs a new LoadHTMLParams instance.

Parameters
htmla string that represent a new HTML to be set. Cannot be null.
textEncodingencoding of the html text. E.g. "UTF-8".
baseURLindicates the origin URL of the document and it's used to resolve links.
Exceptions
ArgumentExceptionwhen when html is null or empty.

Member Function Documentation

override string DotNetBrowser.LoadHTMLParams.ToString ( )

Represent object as string

Returns
a string that represents the object

Property Documentation

string DotNetBrowser.LoadHTMLParams.BaseURL
get

Gets origin URL of the document that will be used to resolve links with relative path in HTML document.

the origin URL of the document.

string DotNetBrowser.LoadHTMLParams.HTML
get

Gets a string that represents HTML content.

a string that represents HTML content.

string DotNetBrowser.LoadHTMLParams.TextEncoding
get

Gets a string that represents encoding of the HTML content. E.g. "UTF-8", "ISO-8859-1" etc.

encoding of the HTML content.