BatchTypes Object (IBatchTypes Interface)

This object represents a collection of batch types. Several batch types for the most commonly used sets of processing settings can be defined in the project. The full set of the batch types defined in the project are available via the BatchTypes property of the corresponding Project object.

The BatchTypes object is a so-called "connectable object". The methods of the BatchTypes object report information about the collection modification through special outgoing interfaces. These interfaces are ICollectionEvents (for C++) and the dispinterface DICollectionEvents (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

Name Type Description
Count Integer, read-only Stores the number of elements in the collection.
Element BatchType, read-only Provides access to a single element of the collection.

Methods

Name Description
AddNew Adds a new element to the end of the collection.
Delete Removes the element from the collection.
DeleteAll Removes all the elements from the collection.
Item Provides access to a single element of the collection.

Related objects

Samples

This object is used in the following code samples: Classification.

See also

BatchType

Working with Properties

Working with Collections

ICollectionEvents

Working with Connectable Objects

15.08.2023 13:19:30

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.