Hello!
I am doing search programmatically using the searchText api
documentViewer.on('documentLoaded', () => {
instance.UI.searchText(searchTerm);
}
But when the pdf pages get higher (>150), the search hangs or takes huge amount of time. The things is, I know which page the result will be in. Can I set the page number for the search? Something like
documentViewer.on('documentLoaded', () => {
instance.UI.searchText(searchTerm, {pageNumber: 140});
}
If not, how can I make the search more efficient?