ChromiumWebBrowser Constructor (HtmlString, BrowserSettings, IRequestContext, Boolean) | 
Version 81.3.100  
    Namespace: 
   CefSharp.OffScreen
    Assembly:
   CefSharp.OffScreen (in CefSharp.OffScreen.dll) Version: 81.3.100.0 (81.3.100.0)
Syntaxpublic ChromiumWebBrowser(
	HtmlString html,
	BrowserSettings browserSettings = null,
	IRequestContext requestContext = null,
	bool automaticallyCreateBrowser = true
)
public:
ChromiumWebBrowser(
	HtmlString^ html, 
	BrowserSettings^ browserSettings = nullptr, 
	IRequestContext^ requestContext = nullptr, 
	bool automaticallyCreateBrowser = true
)
Parameters
- html
 - Type: CefSharp.WebHtmlString
html string to be initially loaded in the browser. - browserSettings (Optional)
 - Type: CefSharpBrowserSettings
The browser settings to use. If null, the default settings are used. - requestContext (Optional)
 - Type: CefSharpIRequestContext
See RequestContext for more details. Defaults to null - automaticallyCreateBrowser (Optional)
 - Type: SystemBoolean
automatically create the underlying Browser 
Exceptions| Exception | Condition | 
|---|
| InvalidOperationException | Cef::Initialize() failed | 
See Also