This callback is invoked when any auto preprocessing command gets called on the OCR page to notify the user that the page bitmap has changed and give him the chance to get the new updated page bitmap. The address of this callback is passed as an argument to the L_OcrPage_SetBitmapChangedCallback function.
#include "ltocr.h"
L_VOID pEXT_CALLBACK YourFunction(page, commands, userData)
OCR page handle that fired this callback.
The Auto preprocess operations applied on the page bitmap, for list of possible values refer to L_OcrAutoPreprocessPageCommands.
A void pointer that you can use to access a variable or structure containing data that your callback function needs. This gives you a way to receive data indirectly from the function that uses this callback function. (This is the same pointer that you pass in the userData parameter of the L_OcrPage_SetBitmapChangedCallback function.)
Keep in mind that this is a void pointer, which must be cast to the appropriate data type within your callback function.
This callback is invoked when any auto preprocessing command gets called on the OCR page to notify the user that the page bitmap has changed and give him the chance to get the new updated page bitmap.
To activate this callback function, call the L_OcrPage_SetBitmapChangedCallback function.
For an example, refer to L_OcrPage_SetBitmapChangedCallback