Using document level JavaScript

If you want your JavaScript functions to be shared in your document, you can create document level JavaScript as follows.

  1. Choose command CenoPDF > Document Settings > Document Level JavaScript
  2. Click the Add button and type in a script name.
  3. Type your script functions in the JavaScript box.
  4. Click the OK button

Functions created in this way could be called from any event triggers.