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

Property Value

Type: System.String

The text inside the tag of the element.

Example
The following code example uses the InnerText property.
// find element
HtmlElement he = instance.GetTabByAddress("page").GetDocumentByAddress("0").FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
 
// get inner text
string innerText = he.InnerText;
// find element
$he = $instance->GetTabByAddress("page")->GetDocumentByAddress("0")->FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
 
// get inner text
$innerText = $he->InnerText;
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
OuterHtml Property
TagName Property
GetAttribute Method