Working with Connectable Objects

Some of the objects in ABBYY FlexiCapture SDK are so-called "connectable objects". This means that they implement the IConnectionPointContainer interface. Connectable objects support communication between ABBYY FlexiCapture SDK and its clients.

Each of the ABBYY FlexiCapture SDK connectable objects provides connection points of two types – one that uses a dispatch interface, and one that uses interface derived from IUnknown. The dispatch interface is designed for automatic use in Visual Basic and similar environments, while the vtbl-based interface is suitable for use in C++.

In the table below you can find the list of connectable objects in ABBYY FlexiCapture SDK and corresponding callback interfaces (dispinterfaces):

Object Callback Interface (Dispinterface)

Project

Batch

IBatchEvents (DIBatchEvents)

AssemblingErrors

Batches

BatchTypes

Blocks

Documents

FieldInstances

Fields

Pages

RuleErrors

TableColumns

ICollectionEvents (DICollectionEvents)

ClassificationTrainer

FieldsExtractionTrainer

IProcessingEvents (DIProcessingEvents)

ABBYY FlexiCapture SDK client application that wants to receive notifications of certain events in ABBYY FlexiCapture SDK, should implement interfaces of specific type, and "advise" objects implementing these interfaces to the corresponding connectable objects. See details for your development tool below.

Visual Basic .NET

C++ (COM)

C#

Refer to documentation on COM for a more detailed description of connectable objects.

See also

IBatchEvents

ICollectionEvents

IProcessingEvents

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.