- 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
