Options to use when creating a document using L_OcrDocumentManager_CreateDocument method.
enum
{
L_OcrCreateDocumentOptions_None = 0,
L_OcrCreateDocumentOptions_InMemory = 1 << 0,
L_OcrCreateDocumentOptions_AutoDeleteFile = 1 << 1,
L_OcrCreateDocumentOptions_LoadExisting = 1 << 2
};
typedef L_UINT L_OcrCreateDocumentOptions;
Create a File-Based document. The document file name is used.
Create a Memory-Based document. The document file name is not used.
Automatically delete the document file when the document is destroyed. Not available if L_OcrCreateDocumentOptions_InMemory is specified.
Load document from the file specified. Not available if L_OcrCreateDocumentOptions_InMemory is specified.
For more information, refer to Programming with LEADTOOLS OCR Module - LEAD Engine.