CefSharp (in CefSharp.dll) Version: 118.6.80.0 (118.6.80.0)
Syntaxpublic static bool LoadHtml( this IWebBrowser browser, string html, string url )
public: [ExtensionAttribute] static bool LoadHtml( IWebBrowser^ browser, String^ html, String^ url )Parameters
Type:
Booleanreturns false if the Url was not successfully parsed into a Uri.
Usage NoteIn Visual Basic and C#, you can call this method as an instance method on any object of type
IWebBrowser. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic)or
Extension Methods (C# Programming Guide).
Remarks`Cef` Native `LoadHtml` is unpredictable and only works sometimes, this method wraps the provided HTML in a
ResourceHandlerand loads the provided url using the
Load(String)method. Defaults to using
UTF8for character encoding The url must start with a valid schema, other uri's such as about:blank are invalid A valid example looks like http://test/page.
See AlsoRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4