Annotation Example

You are viewing an old version (v. 7) of this page.
The latest version is v. 12, last edited on Mar 13, 2017 (view differences | )
<< View previous version | view page history | view next version >>

About the Annotation Examples

The annotation examples demonstrate how to use the ICEpdf API to interact with document annotations and how to create new annotations programmatically.

There are two example projects that demonstrate working with annotations:

  • callback
    • Shows how the AnnotationCallback interface can be used to interpret how annotation actions can be handled, when activated in the user interface.
    • The example also shows how annotation border painting can be manipulated, to show users which annotations they have already clicked on.
  • creation
    • Uses the [Search API] to find and create annotations with the given search criteria. The annotation creation occurs after the document is viewable.
    • Uses the [Search API] to find and create annotations with the given search criteria. The annotation creation occurs before the document pages become viewable.
    • The default main class for this example is NewAnnotationPrePageLoad but it's a quick change to try NewAnnotationPostPageLoad.

The source-code for these examples is located in the http://anonsvn.icesoft.org/repo/icepdf/trunk/icepdf/examples/annotation/.

If your new to Maven and Gradle a quick command primer can be found here

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

© Copyright 2017 ICEsoft Technologies Canada Corp.