ChromiumWebBrowserCreateBrowser Method |
Version 71.0.0
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: 71.0.0.0 (71.0.0.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