Parameters that are used in the Browser.LoadHTML(LoadHTMLParams) method.
More...
|
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...
|
|
Parameters that are used in the Browser.LoadHTML(LoadHTMLParams) method.
DotNetBrowser.LoadHTMLParams.LoadHTMLParams |
( |
string |
html, |
|
|
string |
textEncoding, |
|
|
string |
baseURL |
|
) |
| |
Constructs a new LoadHTMLParams instance.
- Parameters
-
html | a string that represent a new HTML to be set. Cannot be null. |
textEncoding | encoding of the html text. E.g. "UTF-8". |
baseURL | indicates the origin URL of the document and it's used to resolve links. |
- Exceptions
-
ArgumentException | when when html is null or empty. |
override string DotNetBrowser.LoadHTMLParams.ToString |
( |
| ) |
|
Represent object as string
- Returns
- a string that represents the object
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.