L_OcrPageBitmapChangedCallback

#include "ltocr.h"

L_VOID pEXT_CALLBACK YourFunction(page, commands, userData)

This callback is invoked 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. The address of this callback is passed as an argument to the L_OcrPage_SetBitmapChangedCallback function.

Parameters

L_OcrPage page

OCR page handle that fired this callback.

L_OcrAutoPreprocessPageCommands commands

The Auto preprocess operations applied on the page bitmap, for list of possible values refer to L_OcrAutoPreprocessPageCommands.

L_VOID* 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_OcrPage_SetBitmapChangedCallback function.)
Keep in mind that this is a void pointer, which must be cast to the appropriate data type within your callback function.

Comments

This callback is invoked 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 activate this callback function, call the L_OcrPage_SetBitmapChangedCallback function.

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to L_OcrPage_SetBitmapChangedCallback

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

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