Skip to main content
This object corresponds to a batch. The batch is a set of documents grouped by the user. The assignment of documents to batches is user-defined: you can process all documents in one batch, or form batches from documents added on the same date or from a batch scanned in a single pass. Each batch is a part of a project. All the batches of the project are represented by the Batches object. To start your work with the batch, you should first open it using the Open method. The documents of the batch are accessible through the Documents property, while the project containing the batch is available through the Project property. The object contains properties for accessing different batch attributes such as its identifier, title, and path to the batch, and provides a set of methods for document processing. The batch can contain separate documents as well as document sets. A document set consists of several documents related to one another because they serve some common purpose. For example, personal loan applications, insurance reports, etc. Processing document sets in some way differs from the usual processing scenarios. A document in a document set can contain not only pages, but also other documents. In the scenarios when an item of a batch can be a document set with child documents as well as a single document, the batch structure should be implemented using the BatchItems object. This object represents a collection of batch items of both types. The Batch object is a so-called “connectable object.” The methods of the Batch object report information about page processing progress through special outgoing interfaces. These interfaces are IBatchEvents (for C++) and the dispinterface DIBatchEvents (for Visual Basic). It should be noted that Visual Basic users should not care for details of implementing event interfaces, as this development platform provides easy means for handling them.

Properties

Methods

Output parameter

This object is the output parameter of the AddNew, AddNewEx, Item, FindById methods of the Batches object.

Input parameter

This object is the input parameter of the ImportImages method of the Project object.

Samples

This object is used in all code samples.

See also

Batches IBatchEvents BatchItems BatchItem Working with Properties