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