TextSearch module
Cancels the text search of the PdfViewer.
Returns void
Searches for the specified text within the document and returns the bounding rectangles of the matched text. The search can be case-sensitive based on the provided parameters. If a specific page index is provided, it returns the bounding rectangles for that page; otherwise, it returns the bounding rectangles for all pages in the document where the text was found.
Returns SearchResultModel[]
Searches for an array of strings within the document and returns the bounding rectangles for each occurrence. The search can be case-sensitive based on the provided parameters. If a specific page index is provided, it returns the bounding rectangles for these search strings on that page; otherwise, it returns the bounding rectangles for all pages in the document where the strings were found.
Returns Record
Searches for the specified text within the document and returns the bounding rectangles of the matched text. The search can be case-sensitive based on the provided parameters. If a specific page index is provided, it returns the bounding rectangles for that page; otherwise, it returns the bounding rectangles for all pages in the document where the text was found.
Returns Promise
Searches for an array of strings within the document and returns the bounding rectangles for each occurrence. The search can be case-sensitive based on the provided parameters. If a specific page index is provided, it returns the bounding rectangles for these search strings on that page; otherwise, it returns the bounding rectangles for all pages in the document where the strings were found.
Returns Promise
Searches the next occurrence of the searched text from the current occurrence of the PdfViewer.
Returns void
Searches the previous occurrence of the searched text from the current occurrence of the PdfViewer.
Returns void
Searches the target text in the PDF document and highlights the occurrences in the pages
Parameter | Type | Description |
---|---|---|
searchText | string |
Specifies the searchText content |
isMatchCase | boolean |
If set true , its highlights the MatchCase content |
Returns void