ChromiumWebBrowserCreateBrowser Method |
Version 67.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: 67.0.0.0 (67.0.0.0)
Syntax public void CreateBrowser(
IntPtr windowHandle,
BrowserSettings browserSettings = null
)
public:
void CreateBrowser(
IntPtr windowHandle,
BrowserSettings^ browserSettings = nullptr
)
Parameters
- windowHandle
- Type: SystemIntPtr
Window handle if any, IntPtr.Zero is the default - 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