ChromiumWebBrowserCreateBrowser Method |
Version 73.1.130
Create the underlying browser. The instance address, browser settings and request context will be used.
Namespace:
CefSharp.OffScreen
Assembly:
CefSharp.OffScreen (in CefSharp.OffScreen.dll) Version: 73.1.130.0 (73.1.130.0)
Syntax public void CreateBrowser(
IWindowInfo windowInfo = null,
BrowserSettings browserSettings = null
)
public:
void CreateBrowser(
IWindowInfo^ windowInfo = nullptr,
BrowserSettings^ browserSettings = nullptr
)
Parameters
- windowInfo (Optional)
- Type: CefSharpIWindowInfo
Window information used when creating the browser - browserSettings (Optional)
- Type: CefSharpBrowserSettings
Browser initialization settings
Exceptions Exception | Condition |
---|
Exception | An instance of the underlying offscreen browser has already been created, this method can only be called once. |
See Also