ZennoLab Assemblies Documentation
Height Property (HtmlElement)
Example 
ZennoLab.CommandCenter Namespace > HtmlElement Class : Height Property
Gets the height of the html element.
Syntax
public int Height {get;}

Property Value

Type: System.Int32
The height of the html element in pixels.
Example
The following code example uses the Height property.
// find element
HtmlElement he = tab.GetDocumentByAddress("0").FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
 
// get height
int height = he.Height;
// find element
$he = $tab->GetDocumentByAddress("0")->FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
 
// get height
$height = $he->Height;
Requirements

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

See Also

Reference

HtmlElement Class
HtmlElement Members
Width Property