在github上看到这篇文章
PDFFindBar.open(); //optional if you want to show the search bar
PDFFindBar.findField.value = 'your search term';
PDFFindBar.highlightAll.checked= true;
PDFFindBar.findNextButton.click();
看起来是看可以的, 但还没有在项目中测试! 明天试一试把.
在github上看到这篇文章
PDFFindBar.open(); //optional if you want to show the search bar
PDFFindBar.findField.value = 'your search term';
PDFFindBar.highlightAll.checked= true;
PDFFindBar.findNextButton.click();
看起来是看可以的, 但还没有在项目中测试! 明天试一试把.
本文标题:pdf.js支持全文搜索
本文链接:https://www.haomeiwen.com/subject/arlxxttx.html
网友评论