Skip to content

Commit 58b9906

Browse files
975248: Added proper comments
1 parent cd84392 commit 58b9906

File tree

1 file changed

+1
-1
lines changed
  • How to/Add Highlight annotation programmatically using findText bounds/src

1 file changed

+1
-1
lines changed

How to/Add Highlight annotation programmatically using findText bounds/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ export function App() {
2121

2222
//function to handle the extractTextCompleted event
2323
function extractTextCompleted(args) {
24-
//console.log(args.documentTextCollection);
2524
var viewer = document.getElementById('container').ej2_instances[0];
25+
//Text search for a specific text in the PDF document
2626
var searchText =
2727
'The authors and copyright holders provide absolutely no warranty for any information provided. The authors and copyright holders shall not be liable for any claim, damages, or any other liability arising from, out of, or in connection with the information in this book.';
2828
const searchResults = viewer.textSearchModule.findText(searchText, false);

0 commit comments

Comments
 (0)