ChromiumWebBrowserCreateBrowser Method |
Version 100.0.140
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: 100.0.140.0 (100.0.140.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