#include "ltocr.h"
L_LTOCR_API L_INT EXT_FUNCTION L_OcrAutoRecognizeManager_GetRunJobCallback(autoRecognizeManager, callback, userData)
L_OcrAutoRecognizeManager autoRecognizeManager; | handle to the OCR auto recognize manager |
L_OcrAutoRecognizeRunJobCallback* callback; | address to L_OcrAutoRecognizeRunJobCallback variable to be updated |
L_VOID* userData; | same user data pointer that was passed when L_OcrAutoRecognizeManager_SetRunJobCallback was called |
Gets the a pointer to OcrAutoRecognizeRunJobCallback function that was set by calling L_OcrAutoRecognizeManager_SetRunJobCallback.
Parameter | Description |
---|---|
autoRecognizeManager | Handle to the OCR engine auto recognize manager. |
callback | Address to L_OcrAutoRecognizeRunJobCallback variable to be updated with the auto recognize manager RunJob callback. |
userData | Same user data pointer that was passed when L_OcrAutoRecognizeManager_SetRunJobCallback was called. |
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Gets the a pointer to OcrAutoRecognizeRunJobCallback function that was set by calling L_OcrAutoRecognizeManager_SetRunJobCallback.
You can set the L_OcrAutoRecognizeRunJobCallback by calling L_OcrAutoRecognizeManager_SetRunJobCallback to get notified for OCR job start and complete phases.
This callback occurs when a job is about to start or when a job is completed or aborted. For more information about the kind of information you will get during this callback, refer to L_OcrAutoRecognizeRunJobCallbackData.
Required DLLs and Libraries
LTOCR For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
For an example, refer to L_OcrAutoRecognizeManager_SetRunJobCallback.