[]
Creates a new page and navigates to a specified Uri.
public HtmlPage NewPage(Uri uri, PageOptions pageOptions = null)
Public Function NewPage(uri As Uri, Optional pageOptions As PageOptions = Nothing) As HtmlPage
Type | Name | Description |
---|---|---|
Uri | uri | The target Uri. |
PageOptions | pageOptions | Configuration options for the new page. |
Creates a new page and assigns an HTML markup to the page.
public HtmlPage NewPage(string html, PageOptions pageOptions = null)
Public Function NewPage(html As String, Optional pageOptions As PageOptions = Nothing) As HtmlPage
Type | Name | Description |
---|---|---|
string | html | The HTML markup to set. |
PageOptions | pageOptions | Configuration options for the new page. |