ZennoLab Assemblies Documentation
DisplacementInTabWindow Property (HtmlElement)
Example 
ZennoLab.CommandCenter Namespace > HtmlElement Class : DisplacementInTabWindow Property
Gets the displacement of the upper left corner relative to the tab's window.
Syntax
public Point DisplacementInTabWindow {get;}

Property Value

Type: System.Drawing.Point

The point of the upper left corner.

Example
The following code example uses the DisplacementInTabWindow property.
using System.Drawing;
...
// find element
HtmlElement he = tab.GetDocumentByAddress("0").FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
 
// get displacement in tab window
Point point = he.DisplacementInTabWindow;
use System\Drawing;
...
// find element
$he = $tab->GetDocumentByAddress("0")->FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
 
// get displacement in tab window
$point = $he->DisplacementInTabWindow;
Requirements

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

See Also

Reference

HtmlElement Class
HtmlElement Members
DisplacementInDocument Property
Height Property
Width Property