Pageflex Document Action API
FindElement Method (name)
Namespaces > Pageflex.Scripting > Document > FindElement(String)
Finds the Element with the specified name which descends from this element.
Syntax
Parameters
- name (String)
- Name of element to retrieve.
Return Value
The specified Element object.
Remarks
This method provides a simple way to find a particular named element. To find elements
based on more complex criteria, search the document using NextElementInTree.
Exceptions
Exception | Condition |
---|---|
ElementNotFoundException | The specified element was not found. |
ArgumentNullException | The value supplied for name was nullNothingnullptr. |
StaleScriptingObjectException | This object's associated internal object no longer exists. |
Assembly: PFScript Version: 8.0.7.1407 (Module: PFScript)