GetSource

Description

Gets the HTML source code for the current page's main frame.

Applies to

WebBrowser control

Syntax

controlname.GetSource ( )

Argument

Description

controlname

The name of the WebBrowser control.


Return value

String.

Examples

String ls_wbsource
ls_wbsource = wb_1.getsource()

See also

CancelDownload

EvaluateJavascriptAsync

EvaluateJavascriptSync

GoBack

GoForward

Navigate

PrintAsPDF

PauseDownload

RegisterEvent

ResumeDownload

Refresh

StopNavigation

UnregisterEvent

Zoom