ZennoLab Assemblies Documentation
DisplacementInTabWindow Property
See Also  Example Send Feedback
ZennoLab.CommandCenter Assembly > ZennoLab.CommandCenter Namespace > HtmlElement Class : DisplacementInTabWindow Property

Glossary Item Box

Gets the displacement of the upper left corner relative to the tab's window.

Syntax

C# 
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.
C#Copy Code
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;
PHPCopy Code
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: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.