Click or drag to resize
IBrowser Methods
Version 51.0.0

The IBrowser type exposes the following members.

Methods
  NameDescription
Public methodCloseBrowser
Request that the browser close. The JavaScript 'onbeforeunload' event will be fired. If |forceClose| is false the event handler, if any, will be allowed to prompt the user and the user can optionally cancel the close. If |force_close| is true the prompt will not be displayed and the close will proceed. Results in a call to CefLifeSpanHandler::DoClose() if the event handler allows the close or if |force_close| is true. See CefLifeSpanHandler::DoClose() documentation for additional usage information.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodGetFrame(Int64)
Returns the frame with the specified identifier, or NULL if not found.
Public methodGetFrame(String)
Returns the frame with the specified name, or NULL if not found.
Public methodGetFrameCount
Returns the number of frames that currently exist.
Public methodGetFrameIdentifiers
Returns the identifiers of all existing frames.
Public methodGetFrameNames
Returns the names of all existing frames.
Public methodGetHost
Returns the browser host object. This method can only be called in the browser process.
Public methodGoBack
Navigate backwards.
Public methodGoForward
Navigate forwards.
Public methodIsSame
Returns true if this object is pointing to the same handle as that object.
Public methodReload
Reload the current page.
Public methodStopLoad
Stop loading the page.
Top
Extension Methods
  NameDescription
Public Extension MethodAddWordToDictionary
Add the specified word to the spelling dictionary.
(Defined by WebBrowserExtensions.)
Public Extension MethodCloseDevTools
Explicitly close the developer tools window if one exists for this browser instance.
(Defined by WebBrowserExtensions.)
Public Extension MethodFind
Search for text within the current page.
(Defined by WebBrowserExtensions.)
Public Extension MethodGetZoomLevelAsync
Asynchronously gets the current Zoom Level.
(Defined by WebBrowserExtensions.)
Public Extension MethodPrint
Opens a Print Dialog which if used (can be user cancelled) will print the browser contents.
(Defined by WebBrowserExtensions.)
Public Extension MethodPrintToPdfAsync
Asynchronously prints the current browser contents to the PDF file specified. The caller is responsible for deleting the file when done.
(Defined by WebBrowserExtensions.)
Public Extension MethodReplaceMisspelling
If a misspelled word is currently selected in an editable node calling this method will replace it with the specified word.
(Defined by WebBrowserExtensions.)
Public Extension MethodSendMouseWheelEvent (Defined by WebBrowserExtensions.)
Public Extension MethodSetZoomLevel
Change the ZoomLevel to the specified value. Can be set to 0.0 to clear the zoom level.
(Defined by WebBrowserExtensions.)
Public Extension MethodShowDevTools
Open developer tools in its own window.
(Defined by WebBrowserExtensions.)
Public Extension MethodStopFinding
Cancel all searches that are currently going on.
(Defined by WebBrowserExtensions.)
Top
See Also