ZennoLab Assemblies Documentation
InnerHtml Property
See Also  Example Send Feedback
ZennoLab.CommandCenter Assembly > ZennoLab.CommandCenter Namespace > HtmlElement Class : InnerHtml Property

Glossary Item Box

Gets the html text inside the tag of the element.


public string InnerHtml {get;}

Property Value

Type: System.String

The html text inside the tag of the element.


The following code example uses the InnerHtml property.
C#Copy Code
// find element
HtmlElement he = instance.GetTabByAddress("page").GetDocumentByAddress("0").FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
// get inner html
string innerHtml = he.InnerHtml;
PHPCopy Code
// find element
$he = $instance->GetTabByAddress("page")->GetDocumentByAddress("0")->FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
// get inner html
$innerHtml = $he->InnerHtml;


Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2014 All Rights Reserved.