Table of Contents
WebView Methods

The methods of the WebView class are listed below. For a complete list of WebView class members, see the WebView Members topic.

Methods
Name Description
CaptureOverloaded. Captures the current rendering result.
CaptureRawOverloaded. Captures the current rendering result and returns the raw bitmap data.
Close Closes this WebView.
CloseDebugUI Close the debug UI.
Create Initialize the WebView and associate it to a window handle.
CreateObjRef (inherited from MarshalByRefObject) 
Destroy Destroy the WebView object.
Dispose (inherited from Component)Overloaded.  
Dispose (inherited from Component)Overloaded.  
DoEventsOverloaded. Processes all Windows messages currently in the message queue.
Download Download a Url and save the result to a temporary file.
DownloadWithResult Download a Url and save the result to a temporary file.
Equals (inherited from Object) 
EvalScriptOverloaded. Execute JavaScript code in the main frame.
ExecCommand Executes the default behavior of a command.
ExitFullscreenMode Exits full screen mode.
Finalize (inherited from Component) 
GetContentAreaSizeOverloaded. Gets the size of the visible area.
GetDefaultPrinterSettings Retreives the default printing settings.
GetDOMWindow Returns the JavaScript DOM window object.
GetHashCode (inherited from Object) 
GetHtml Returns the current page HTML.
GetLifetimeService (inherited from MarshalByRefObject) 
GetPageSize Returns the size of the page loaded in the WebView.
GetScrollOffset Gets the current scrolling offset.
GetService (inherited from Component) 
GetSource Gets the source HTML of the current document.
GetSSLStatus Returns the SSL status of the current page.
GetText Returns the current page text.
GetType (inherited from Object) 
GoBack Load the previous page into the WebView.
GoForward Load the next page into the WebView.
HideDevTools Hides the developer tools interface.
InitializeLifetimeService (inherited from MarshalByRefObject) 
InvokeFunction Invoke a JavaScript function.
LoadHtmlOverloaded. Load raw HTML into the WebView.
LoadHtmlAndWaitOverloaded. Load raw HTML and wait until it has finished loading.
LoadRequest Loads a request into this WebView.
LoadRequestAndWait Loads a request and wait for it to finish loading.
LoadUrlOverloaded. Loads a Url into this WebView.
LoadUrlAndWait Loads a Url and wait for it to finish loading.
MemberwiseClone (inherited from MarshalByRefObject)Overloaded.  
MemberwiseClone (inherited from Object)Overloaded.  
PreloadOverloaded. Create a WebView and preload a Url.
PrintOverloaded. Print the current page.
QueueScriptTaskOverloaded. Execute a piece of JavaScript code as soon as possible.
RegisterJSExtensionFunction Register a function that can be called from JavaScript code.
RegisterResourceHandler Register a custom resource handler.
ReloadOverloaded. Reloads the current page.
ResizeOverloaded. Resizes the WebView.
RunLater Executes the action asynchronously on the same thread associated to this WebView at a later time.
SendCharOverloaded. Simulates a characther input.
SendKeyEventOverloaded. Simulates a key down or key up event.
SendMouseEvent Simulates a mouse event to the WebView.
SetFocus Sets the keyboard focus to this WebView.
SetOptions Sets the WebView options.
SetScrollOffset Sets the current scrolling offset.
ShowDebugUI Displays debug UI for you to examine all WebView instances in the current process.
ShowDevTools Displays the developer tools interface in a separate window.
StartFindSession Starts a new find session.
StopLoad Stop loading the current page.
ToString (inherited from Component) 
UnregisterResourceHandler Unregister a previously registered resource handler.
See Also