Parameters
- value
Type: System.String
The new value for this html element.
- emulation
Type: System.String
The emulation level. May be: "None", "Middle" or "Full".
- useSelectedItems
Type: System.Boolean
true if you need use automatic filling standard "select" fields; otherwise false.
The following code example demonstrates uses of the SetValue method.
| C# | Copy Code |
|---|---|
// find element HtmlElement he = instance.GetTabByAddress("page").GetDocumentByAddress("0").FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0); // set value he.SetValue("true", "Middle", true); | |
| PHP | Copy Code |
|---|---|
// find element $he = $instance->GetTabByAddress("page")->GetDocumentByAddress("0")->FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0); // set value $he->SetValue("true", "Middle", true); | |
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family