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 20.0.2018.1.19
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS OCR Module - LEAD Engine C API Help