L_OcrAutoRecognizeRunJobCallback

#include "ltocr.h"

L_INT pEXT_CALLBACK YourFunction(data, userData)

const L_OcrAutoRecognizeRunJobCallbackData* data; pointer to L_OcrAutoRecognizeRunJobCallbackData structure
L_VOID * userData; pointer to additional parameters

Reports start and completion of the auto recognize job. The address of this callback is passed as an argument to the L_OcrAutoRecognizeManager_SetRunJobCallback function.

Parameter Description
data Pointer to a L_OcrAutoRecognizeRunJobCallbackData structure that contains information about the running job start and completion states.
userData 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_OcrAutoRecognizeManager_SetRunJobCallback function.)
Keep in mind that this is a void pointer, which must be cast to the appropriate data type within your callback function.

Returns

SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

This function called periodically by the OCR engine.

To activate the progress callback function, call the L_OcrAutoRecognizeManager_SetRunJobCallback function.

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.
See Also
Functions: L_OcrAutoRecognizeManager_GetRunJobCallback, L_OcrAutoRecognizeManager_SetRunJobCallback, L_OcrAutoRecognizeManager_Run, L_OcrAutoRecognizeManager_RunJob, L_OcrAutoRecognizeManager_RunJobAsync
Topics: Recognizing OCR Pages

Example

For an Example, refer to L_OcrAutoRecognizeManager_RunJobAsync or L_OcrAutoRecognizeManager_SetJobOperationCallback

Help Version 20.0.2018.1.19
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS OCR Module - LEAD Engine C API Help