Annotate with the API

The ViewerControl API can be used to annotate the document, or create other forms of markup (redaction and signature marks). This example demonstrates creation of methods that call the ViewerControl API to stamp the current page (“Approved” or “Rejected”) and then change to the next page in the document. The example changes the UI of the viewer so that there are two buttons, clicking one calls the method to add the “Approved” stamp and the other to add the “Rejected” stamp.

Click on the dropdown menu below to select your code example of interest.