This function allows you to search text in the currently loaded document.
Parameters
- docuViewareID
- The identifier for the DocuVieware™ instance you want to search the text in.
- textToSearch
- A string containing the text you want to search.
- wholeWord
- A boolean to set if only whole words should be considered.
- caseSensitive
- A boolean to set if the search should be case sensitive or not.
- pageSelection
- A numeric value to set if the search is done inside the current page or the whole document. Possible values are:
- 0 = Current page only
- 1 = Whole document
- anyWord
- A boolean that allows to search several words at once.
- fuzzySearch
- A boolean that specifies if fuzzy search is activated during any text search operation. When enabled, a text search operation searches for text that matches a term closely instead of exactly. Fuzzy match is disabled by default.
Return Value
1 if error, 0 if success.