Previous topicNext topic
Help > Methods >
GetInnerHTML

GetInnerHTML Method

Return the HTML code of the top level document.

Syntax

String=object.GetInnerHTML([Documentobject As oWebview2DocumentObjects])

The GetInnerHTML method syntax has these parts:

Element Description
Object The object placeholder represents an OrdoWebView2 control
Documentobject

Optional   oWebview2DocumentObjects.
GetInnerHTML return :
    oDocumentElement = 0   all the HTML code of the document (default )
    oBody = 1              the HTML of the document body
    oCookie = 2            the page cookies
    oDomain = 3            the page domain
    oTitle = 4             the page title
    oURL = 5               the page URL
    oInputEncoding = 6     the page's character encoding  
    oHead = 7              the HTML of the page header
    oLinks = 8             all page links