L_OcrPage_SetBitmapChangedCallback

#include "ltocr.h"

L_LTOCR_API L_INT EXT_FUNCTION L_OcrPage_SetBitmapChangedCallback(page, callback, userData)

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.

Parameters

L_OcrPage page

Handle to the OCR page.

L_OcrPageBitmapChangedCallback callback

A callback to get fired when bitmap changes using any auto preprocess operation.

L_VOID* userData

Optional user data to pass to the callback function.

Returns

Value Meaning
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

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

LEADTOOLS OCR Module - LEAD Engine C API Help