Home News DOC Class DL Others Rice
Class  >  browser  >  LoadHtml(string)
browser class : LoadHtml(string) method

Description

Loads the HTML string into the browser.

Syntax

instance.LoadHtml(string html)

Arguments

ClassNameDescription
stringhtmlHTML string.

Return value

None.

Sample code

1:

window w;

2:

browser b = w.CurrentBrowser;

3:

string html = "<!DOCTYPE html><html>...</html>";

4:

b.LoadHtml(html); // Asynchronous loading.

Notes

Creates a temporary Html file from the argument and moves to that file url.

The moving does asynchronous. That is, the method exits without waiting for the moving to complete.

Events related to page navigation occur.

Links for reference

None.

Copyright © Rice All rights reserved.