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

Glossary Item Box

Gets the displacement of the upper left corner relative to the parent document.

Syntax

C# 
public Point DisplacementInDocument {get;}

Property Value

Type: System.Drawing.Point

The point of the upper left corner.

Example

The following code example uses the DisplacementInDocument property.
C#Copy Code
using System.Drawing;
...
 
HtmlElement he = tab.GetDocumentByAddress("0").FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
            
Point point = he.DisplacementInDocument;
PHPCopy Code
namespace System\Drawing;
...
 
$he = $tab->GetDocumentByAddress("0")->FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
            
$point = $he->DisplacementInDocument;

Requirements

Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.