The Annotation Loop action allows you to loop through all Annotations in the specified Document(s) and perform actions for each one

NOTE: Loop actions are available in the Enterprise Edition only. 


Actions

Add the actions you wish to process for each Annotations into the Actions list. 


* Here are some things to keep in mind:

  • The document whose annotation is currently being iterated is the Active Document in memory
  • You can use the [ANNOCTR] variable in your actions to get the annotation number being processed
  • You can use the following variables within the loop
    • ANNOCOUNT - Total number of annotations found
    • ANNOCTR - The number of the annotation being processed
    • ANNOPAGE - The page number the Annotation was within the document
    • ANNO - JSON of the entire annotation
    • ANNOTYPE - The type of annotation. This is a number value from the following list:
      • FreeHand = 1
      • Line = 2
      • Rectangle Filled = 3
      • Rectangle = 4
      • Arrow = 5
      • Text = 6
      • Image = 7
      • Ellipse = 8
      • Ellipse Filled = 9
      • Check = 10
      • X = 11
      • Star = 12
    • ANNOCOLOR - The color of the annotation. This is typically HEX but can also be a word if it is HTML compatible such as black, red, etc.)
    • ANNOTOP - The pixel location of the TOP of the annotation
    • ANNOLEFT - The pixel location of the LEFT of the annotation
    • ANNOWIDTH - The pixel size of the WIDTH of the annotation
    • ANNOHEIGHT - The pixel size of the HEIGHT of the annotation



* Note that Redaction and Highlight annotations are saved as Rectangle Filled types