event Object
All JavaScripts are executed as the result of a particular event. For each of these events, Acrobat JavaScript creates an event object. During the occurrence of each event, you can access this object to get and possibly manipulate information about the current state of the event.
Each event has a type (page 335) and a name (page 330) property that uniquely identify the event. This section describes all the events, listed as type/name pairs, and indicates which additional properties, if any, they define.
The rc (page 331) property of an event is its return code. The description for each event describes whether it listens to (is affected by) the return code.
It is important for JavaScript writers to know when these events occur and ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access