WebCoreCreateWebView Method (Int32, Int32, WebSession)Awesomium.NET 1.7.6Awesomium.NET
Creates a WebView (think of it like a tab in Chrome, you can load web-pages into it, interact with it, and render it to a buffer).

Namespace: Awesomium.Core
Assembly: Awesomium.Core (in Awesomium.Core.dll) Version: 1.7.6.0
Syntax

public static WebView CreateWebView(
	int width,
	int height,
	WebSession session
)

Parameters

width
Type: SystemInt32
The initial width of the view in pixels.
height
Type: SystemInt32
The initial height of the view in pixels.
session
Type: Awesomium.CoreWebSession
The WebSession to use with this WebView.

Return Value

Type: WebView
A new WebView instance.
Exceptions

ExceptionCondition
InvalidOperationException The member is called on a WebCore that has previously been shut down.
ArgumentNullException A null reference has been specified for session.
ObjectDisposedException The specified session instance, is disposed.
Remarks

If you call this method before initializing the WebCore, Awesomium will automatically start with default configuration settings.
See Also

Reference