This event is fired right after a form is scanned and just before it is saved in the database. This event is fired for separate forms in a set, but it is not fired for appendices. Use of this event may reduce Scan’s performance.
None.
|
Return value |
Description |
|
EV_OK |
Normal return. |
|
EV_OK_ABORT |
The most recently scanned document is discarded (not saved). Images belonging to the document are removed, etc. |
|
EV_ERROR |
Causes an error message and job termination. |
FormScanEnd can be used to add additional data to the form or keep track of the scanning. It is also an appropriate event on which to set and change the name of the image files associated with the forms, such as archive images or appendices.
Only fired in the Scan module. Note that the scanning performance (rate) may be reduced when you use this event.