L_OcrPage_SetBitmapChangedCallback

#include "ltocr.h"

L_LTOCR_API L_INT EXT_FUNCTION L_OcrPage_SetBitmapChangedCallback(page, callback, userData)

L_OcrPage page; handle to the OCR page
L_OcrPageBitmapChangedCallback callback; callback to get fired when bitmap changes
L_VOID* userData; optional user data to pass to the callback function

Sets a callback to get fired 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.

Parameter Description
page Handle to the OCR page.
callback A callback to get fired when bitmap changes using any auto preprocess operation.
userData Optional user data to pass to the callback function.

Returns

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

Comments

Use this function to set a callback to get fired 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 disable this callback from firing call L_OcrPage_SetBitmapChangedCallback passing NULL to the 'callback' parameter.

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.
Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Advantage OCR C API Help