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 Value
Returns an array of Range objects representing all instances of text in the document.
Remarks
If 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)