Zennolab.CommandCenter
InsertElementAfter Method
See Also  Example Send Feedback
Zennolab.CommandCenter Namespace > HtmlElement Class : InsertElementAfter Method
insertingElement

Type: Zennolab.CommandCenter.HtmlElement

The html element to insert. The value can be null.

Inserts the specified element after this element.

Syntax

C# 
public void InsertElementAfter( 
   HtmlElement insertingElement
)

Parameters

insertingElement

Type: Zennolab.CommandCenter.HtmlElement

The html element to insert. The value can be null.

Example

The following code example demonstrates uses of the InsertElementAfter method.
C#Copy Code
HtmlElement he = instance.GetTabByAddress("page").GetDocumentByAddress("0").FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
            
HtmlElement heNext = instance.GetTabByAddress("page").GetDocumentByAddress("0").FindElementByName("rad");
            
he.InsertElementAfter(heNext);
PHPCopy Code
$he = $instance->GetTabByAddress("page")->GetDocumentByAddress("0")->FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
            
$heNext = $instance->GetTabByAddress("page")->GetDocumentByAddress("0")->FindElementByName("rad");
            
$he->InsertElementAfter($heNext);

Requirements

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

See Also

© 2011 All Rights Reserved.