Pageflex Document Action API
FindText Method (text, matchCase, matchWholeWord)
Namespaces > Pageflex.Scripting > Document > FindText(String, Boolean, Boolean)
Finds all instances of the specified text in the document.
Syntax| C# | Visual Basic | Managed C++ |
Parameters
Return ValueReturns an array of Range objects representing all instances of text in the document.
RemarksIf modifying the returned Range objects, iterate in reverse order.
Exceptions| Exception | Condition |
|---|---|
| ArgumentNullException | The value supplied for text was nullNothingnullptr. |
| StaleScriptingObjectException | This object's associated internal object no longer exists. |
Assembly: PFScript Version: 8.0.7.1407 (Module: PFScript)