Q:
The search function in the webreader is awesome and provides a snippet of the text before, and after the match right with the search result.
Is there a smiliar function for the PDFNet SDK (we are using iOS SDK)?
A:
You can use the TextSearch class to find text surrounding a found term, which we call the “ambient string”. Please see the documentation for more info:
Relevant text search methods:
TextSearchModes:
You will want to include e_ambient_string when you search.