L_OcrBitmapSharingMode

Summary

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

Syntax

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

Members

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.

Usage

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

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