Click or drag to resize

IFrame Methods

Version 73.1.130

The IFrame type exposes the following members.

Methods
  NameDescription
Public methodCopy
Execute copy in this frame.
Public methodCreateRequest
Create a custom request for use with LoadRequest(IRequest)
Public methodCut
Execute cut in this frame.
Public methodDelete
Execute delete in this frame.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodEvaluateScriptAsync
Execute some Javascript code in the context of this WebBrowser, and return the result of the evaluation in an Async fashion
Public methodExecuteJavaScriptAsync
Execute a string of JavaScript code in this frame.
Public methodGetSource
Retrieve this frame's HTML source as a string sent to the specified visitor. Use the GetSourceAsync method for a Task based async wrapper
Public methodGetSourceAsync
Retrieve this frame's HTML source as a string sent to the specified visitor.
Public methodGetText
Retrieve this frame's display text as a string sent to the specified visitor. Use the GetTextAsync method for a Task based async wrapper
Public methodGetTextAsync
Retrieve this frame's display text as a string sent to the specified visitor.
Public methodLoadRequest
Load the custom request. LoadRequest can only be used if a renderer process already exists. In newer versions initially loading about:blank no longer creates a renderer process. You can load a Data Uri initially then call this method. https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs
Public methodLoadStringForUrl
Load the contents of html with the specified dummy url.
Public methodLoadUrl
Load the specified url.
Public methodPaste
Execute paste in this frame.
Public methodRedo
Execute redo in this frame.
Public methodSelectAll
Execute select all in this frame.
Public methodUndo
Execute undo in this frame.
Public methodViewSource
Save this frame's HTML source to a temporary file and open it in the default text viewing application. This method can only be called from the browser process.
Top
Extension Methods
  NameDescription
Public Extension MethodLoadHtml
Loads html as Data Uri See https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs for details If base64Encode is false then html will be Uri encoded
(Defined by WebBrowserExtensions.)
Top
See Also