ChromiumWebBrowserCreateBrowser Method |
Version 106.0.290
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: 106.0.290.0 (106.0.290.0)
Syntax public void CreateBrowser(
IWindowInfo windowInfo = null,
IBrowserSettings browserSettings = null
)
public:
void CreateBrowser(
IWindowInfo^ windowInfo = nullptr,
IBrowserSettings^ browserSettings = nullptr
)
Parameters
- windowInfo (Optional)
- Type: CefSharpIWindowInfo
Window information used when creating the browser - browserSettings (Optional)
- Type: CefSharpIBrowserSettings
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