This is a callback interface that is used for reporting events from the FRDocument object to the listeners. This interface is implemented on the client-side. See the detailed implementation advice for your development tool in Working with Connectable Objects. A brief description is below:Documentation Index
Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
Use this file to discover all available pages before exploring further.
- C++ users will need to implement the IFRDocumentEvents interface, obtain a connection point (Windows), and “advise” the object implementing the interface to the FRDocument object. As the interface is derived from the IUnknown interface, the client object should also implement the IUnknown methods.
- Visual Basic users that want to receive notifications from the FRDocument object should declare it WithEvents and implement the procedures similar to the following:
- Report percentage of image loading, document analysis, recognition, synthesis, and export performed.
- Report information about document analysis, recognition, synthesis, and export completed.
- In Windows: Process any system messages to help prevent the application from appearing unresponsive during long operations. This can be helpful in applications with a user interface.
Methods
| Name | Description |
|---|---|
| OnPageProcessed | Delivers to the client information about page processing completed. |
| OnProgress | Delivers to the client information about approximate percentage of the current operation (image loading, analysis, recognition, etc.). |
| OnWarning | Delivers to the client tips and warnings which occurred during processing. |
Samples
This Windows C++ sample shows how to implement a timer that will abort processing if a method call is taking too long.C++ (COM) code
C++ (COM) code
