L_OcrAutoRecognizeManager_GetRunJobCallback

Summary

Gets the a pointer to OcrAutoRecognizeRunJobCallback function that was set by calling L_OcrAutoRecognizeManager_SetRunJobCallback.

Syntax

#include "ltocr.h"

L_LTOCR_API L_INT EXT_FUNCTION L_OcrAutoRecognizeManager_GetRunJobCallback(autoRecognizeManager, callback, userData)

Parameters

L_OcrAutoRecognizeManager autoRecognizeManager

Handle to the OCR engine auto recognize manager.

L_OcrAutoRecognizeRunJobCallback* callback

Address to L_OcrAutoRecognizeRunJobCallback variable to be updated with the auto recognize manager RunJob callback.

L_VOID** userData

Same user data pointer that was passed when L_OcrAutoRecognizeManager_SetRunJobCallback was called.

Returns

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

Comments

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

See Also

Functions

Topics

Example

For an example, refer to L_OcrAutoRecognizeManager_SetRunJobCallback

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS OCR Module - LEAD Engine C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.