SearchResults
12 Sep 20251 minute to read
Search Result info
Properties
index number
Gets the index of current search result.
length number
Gets the length of search results.
Methods
clear
Clears all the instance of search result.
Returns void
getTextSearchResultsOffset
Get start and end offset of searched text results.
Returns TextSearchResultInfo[]
replaceAll
Replace all the instance of search result.
| Parameter | Type | Description |
|---|---|---|
| textToReplace | string |
text to replace |
Returns void