IWebView MethodsAwesomium.NET 1.7.6Awesomium.NET

The IWebView type exposes the following members.

Methods

  NameDescription
Public methodCancelLogin
This method should be called as the result of a user canceling a login dialog, when you are handling the LoginRequest event with NotModal (see Handled).
Public methodCancelPopupMenu
This method should be called as the result of a user canceling a drop-down (popup) menu, when you handle ShowPopupMenu yourself (see Handled).
Public methodCanGoBack
Gets if we can go back in history.
Public methodCanGoForward
Gets if we can go forward in history.
Public methodCopy
Performs a 'copy' operation using the system clipboard.
Public methodCopyHTML
Copies the HTML content currently selected in this view, to the system clipboard.
Public methodCopyImageAt
Attempt to copy an image on the page, to the system clipboard. This is meant to be used with ShowContextMenu.
Public methodCopyLinkAddress
Copies the target URL of the link currently under the cursor.
Public methodCreateGlobalJavascriptObject
Create a global JavaScript object that will persist between all loaded pages, for the lifetime of this IWebView instance.
Public methodCreateInspectorView(Boolean)
Requests the creation of a special Developer Tools Inspector View, that inspects the web contents of this view.
Public methodCreateInspectorView(WebSession, Boolean)
Requests the creation of a special Developer Tools Inspector View, that inspects the web contents of this view.
Public methodCreateJavascriptExecutionContext(JavascriptExecutionContextMethod)
Creates an asynchronous Javascript Execution Context and executes the method associated with it.
Public methodCreateJavascriptExecutionContextT(JavascriptExecutionContextMethodT, T)
Creates an asynchronous Javascript Execution Context and executes the method associated with it.
Public methodCut
Performs a 'cut' operation using the system clipboard.
Public methodDidChooseFiles
This method should be called as the result of a user selecting files in a file-chooser dialog, when you are handling the SelectLocalFiles event with NotModal (see Handled).
Public methodDidOverrideCertificateError
This method should be called if you want to ignore an SSL certificate error, when you are handling the CertificateError event with NotModal (see Handled).
Public methodExecuteJavascript(String)
Executes some JavaScript asynchronously in the main frame of the page.
Public methodExecuteJavascript(String, String)
Executes some JavaScript asynchronously on the page.
Public methodExecuteJavascriptWithResult(String)
Executes some JavaScript synchronously in the main frame of the page, and returns a result.
Public methodExecuteJavascriptWithResult(String, String)
Executes some JavaScript synchronously on the page, and returns a result.
Public methodFocusView
Gives the view the appearance of input focus.
Public methodGetInspectorView
Gets the Developer Tools Inspector view currently inspecting this view, if any.
Public methodGetLastError
Check if an error occurred during the last synchronous Javascript interoperation call.
Public methodGoBack
Navigates one step backwards in history.
Public methodGoForward
Navigates one step forward in history.
Public methodGoToHistoryOffset
Navigates back/forward in history via a relative offset.
Public methodGoToHome
Navigates to the Home URL as defined in HomeURL.
Public methodInjectKeyboardEvent
Passes a keyboard event to the view.
Public methodInjectMouseDown
Passes a mouse-down event to the view, using the last mouse-move coordinates.
Public methodInjectMouseMove
Passes a mouse-move event to the view.
Public methodInjectMouseUp
Passes a mouse-up event to the view, using the last mouse-move coordinates.
Public methodInjectMouseWheel
Passes a mouse-wheel event to the view.
Public methodInjectTouchEvent
Passes a multi-touch event to the view.
Public methodLoadHTML
Loads a string of HTML into the view asynchronously.
Public methodLogin
This method should be called as the result of a user supplying their credentials in a login dialog, when you are handling the LoginRequest event with NotModal (see Handled).
Public methodPaste
Performs a 'paste' operation using the system clipboard.
Public methodPasteAndMatchStyle
Performs a 'paste' operation using the system clipboard while attempting to preserve any styles of the original text.
Public methodPrintToFile
Prints this IWebView instance to a PDF file, asynchronously. You should generally use this method in response to a PrintRequest event.
Public methodRedo
Redo the last 'edit' operation. (Similar to CTRL+Y).
Public methodReduceMemoryUsage
Forces V8 to release as much memory as possible (collects garbage, dumps cached structures, etc) and also clears WebKit cache. This helps to reduce memory accumulated within the process associated with this view.
Public methodReload
Reloads the current page.
Public methodRequestPageInfo
Issues a request for the currently loaded page's security info. Information will be retrieved through the ShowPageInfo event.
Public methodResetZoom
Resets the zoom level for the currently loaded host.
Public methodResize
Resizes the view to certain pixel dimensions.
Public methodSaveImageAt
Attempt to download an image at the specified coordinates in the page. This is meant to be used with ShowContextMenu.
Public methodSelectAll
Performs a 'select all' operation.
Public methodSelectPopupMenuItem
This method should be called as the result of a user selecting an item in a drop-down (popup) menu, when you handle ShowPopupMenu yourself (see Handled).
Public methodStop
Stops the current navigation.
Public methodUndo
Undo the last 'edit' operation. (Similar to CTRL+Z).
Public methodUnfocusView
Remove the appearance of input focus.
Public methodZoomIn
Zooms into the page by 20%.
Public methodZoomOut
Zooms out the page by 20%.
Top
See Also

Reference