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

Property Value

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

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

See Also

Reference

HtmlElement Class
HtmlElement Members
Height Property