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;
Options to use when creating a document using L_OcrDocumentManager_CreateDocument method.
| Value | Meaning |
|---|---|
| L_OcrCreateDocumentOptions_None | Create a File-Based document. The document file name is used. |
| L_OcrCreateDocumentOptions_InMemory | Create a Memory-Based document. The document file name is not used. |
| L_OcrCreateDocumentOptions_AutoDeleteFile | Automatically delete the document file when the document is destroyed. Not available if L_OcrCreateDocumentOptions_InMemory is specified. |
| L_OcrCreateDocumentOptions_LoadExisting | 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.