Search results

TextSearch API in Vue PDF Viewer API component

TextSearch module

Methods

cancelTextSearch

Cancels the text search of the PdfViewer.

Returns void

searchNext

Searches the next occurrence of the searched text from the current occurrence of the PdfViewer.

Returns void

searchPrevious

Searches the previous occurrence of the searched text from the current occurrence of the PdfViewer.

Returns void

searchText

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