Parameters
- regex
- Regular expression for text searching.
- searchMode
- Text search mode.
- searchUp
- A value indicating whether the text must be searched from current position in document to the beginning of document/page.
- searchFromStart
- A value indicating whether the text search must be started from the beginning.