ZennoLab Assemblies Documentation
OuterHtml Property
Example 
ZennoLab.CommandCenter Namespace > HtmlElement Class : OuterHtml Property
Gets the dom text of the html element.
Syntax
public string OuterHtml {get;}

Property Value

Type: System.String

The dom text of the html element.

Example
The following code example uses the OuterHtml property.
// find element
HtmlElement he = tab.GetDocumentByAddress("0").FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
 
// get outer html
string domText = he.OuterHtml;
// find element
$he = $tab->GetDocumentByAddress("0")->FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
 
// get outer html
$domText = $he->OuterHtml;
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

HtmlElement Class
HtmlElement Members
FullTagName Property
Id Property
InnerHtml Property
TagName Property
GetAttribute Method