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.


- name (String)
- Name of element to retrieve.

The specified Element object.

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.

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)