ZennoLab Assemblies Documentation
Width Property (HtmlElement)
Example 
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: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven

See Also

Reference

HtmlElement Class
HtmlElement Members
Height Property

Send Feedback