The Annotation Creation example shows how the [Search API] can be used to generate link annotations for search results. Each search result's text bounds are uses as the bounding box for a new link annotation. A link annotation can point to any external URL or link to other destinations in the same document.
There are two various of the annotation creation example; on that generates the annotations before the document is displayed and the other after the document is displayed. This main reason for this is to show how Annotation component are created if the document is already opened.
The source code for this example can be found at:
Information on downloading all the example can be found here
© Copyright 2017 ICEsoft Technologies Canada Corp.