Batch structure change (page added/page deleted/document added/document deleted)

What it does

The handler of this event can be used if you need to do some manipulations on the batch, the document or the page depending on a new image. For example, to count the number of pages added to the batch to ensure that no pages are missing.

When it is launched

The script is launched upon adding pages (or documents) or prior to deleting them.

Note: Deleting a document does not initiate the event of deleting document pages.


Name Type Access Description
Batch IBatch Internal* fields of batch documents and pages are unavailable The batch being manipulated
Document (or Page) IDocument (or IPage)

External fields of the changed document (or page) can be modified.

Access to the deleted document (or page) and other documents and pages of the batch is read-only.

The item being deleted (or added).

* - The internal field requires loading the object into memory.

12.04.2024 18:16:02

Please leave your feedback about this article

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.