L_OcrBitmapSharingMode

enum L_OcrBitmapSharingMode 
{ 
   L_OcrBitmapSharingMode_None, 
   L_OcrBitmapSharingMode_AutoFree, 
}; 
typedef enum L_OcrBitmapSharingMode L_OcrBitmapSharingMode; 

Options used with L_OcrEngine_CreatePage to determine the ownership of the source BITMAPHANDLE.

Value Meaning
L_OcrBitmapSharingMode_None L_OcrPage will not free the BITMAPHANDLE when it is destroyed. The page does not own the bitmap handle.
L_OcrBitmapSharingMode_AutoFree L_OcrPage will free the BITMAPHANDLE when it is destroyed. The page owns the bitmap handle.

Comments

L_OcrBitmapSharingMode determines the ownership of the source BITMAPHANDLE object passed to L_OcrEngine_CreatePage method.

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.