ChromiumWebBrowserCreateBrowser Method |
Version 79.1.350
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: 76.1.90.0 (76.1.90.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