This code sample shows how to:
- Open and display a PDF document
- Search for particular words on the page
- Search for text in a particular font or style
- Search for text in a particular area of the page
- Highlight text which has been found
- Redact or delete text that has been found
- Redact or delete images in a particular area of the page
In the screenshot below you can see found words highlighted in blue, selected areas highlighed in green and selected text styles marked up in red. The buttons on the right allow you to select other element of the document and optionally to delete or redact them.
The ABCpdf Team