Table of Contents
WebView.LoadHtml Method (String, String)

Load raw HTML into the WebView.

Syntax
 public NavigationTask LoadHtml(
   string html,
   string baseUrl
);

Parameters

html
The HTML to be loaded.
baseUrl
The base Url.
Remarks

The baseUrl can be used to convert partial path into full path. For example, the HTML may contain partial path such as "<img src="logo.gif" />", in that case unless baseUrl is provided, the browser engine would not be able to construct the full path of the image.

See Also