[SerializableAttribute()]
public enum OcrSupportLockedExceptionType
<SerializableAttribute()>
Public Enum OcrSupportLockedExceptionType
public enum OcrSupportLockedExceptionType
[SerializableAttribute()]
public enum class OcrSupportLockedExceptionType
Value | Member | Description |
---|---|---|
0 | Ocr | OCR support is required to use this feature. |
1 | Icr | ICR (handprint) support is required to use this feature. |
2 | Omr | OMR support is required to use this feature. |
3 | PDF support is required to use this feature (When saving a document using the LEADTOOLS Document Writers, refer to IOcrDocument.Save. | |
4 | PdfA | (Deprecated) Do not use. |
5 | OcrOmniPageArabic | LEADTOOLS OCR Module - OmniPage Engine with Additional Languages support is required to use this feature. |
6 | EnginePdf | PDF support is required to use this feature (When saving a document using the engine native support, refer to IOcrDocumentManager.EngineFormat. |
7 | OcrOmniPageAsian | LEADTOOLS OCR Module - OmniPage Engine Asian support is required to use this feature. |
Various parts of the LEADTOOLS OCR toolkit are locked by a specific key. When using these features without first unlocking the specified feature, an exception of type OcrSupportLockedException will be thrown. You can examine the OcrSupportLockedException.SupportType property to determine which unlock support feature is required.
The following table lists the action required when an error of type OcrSupportLockedException is thrown:
Engine type | OcrSupportLockedException.SupportType value | Action required |
---|---|---|
LEADTOOLS OCR Module - OmniPage Engine (OcrEngineType.OmniPage) | OcrSupportLockedExceptionType.Ocr | Unlock RasterSupportType.OcrOmniPage |
LEADTOOLS OCR Module - OmniPage Engine (OcrEngineType.OmniPage) | OcrSupportLockedExceptionType.Icr | Unlock RasterSupportType.IcrOmniPage |
LEADTOOLS OCR Module - OmniPage Engine (OcrEngineType.OmniPage) | OcrSupportLockedExceptionType.Omr | Unlock RasterSupportType.Omr |
LEADTOOLS OCR Module - OmniPage Engine (OcrEngineType.OmniPage) | OcrSupportLockedExceptionType.Pdf | Unlock RasterSupportType.OcrOmniPagePdfOutput |
LEADTOOLS OCR Module - OmniPage Engine (OcrEngineType.OmniPage) | OcrSupportLockedExceptionType.PdfA | Unlock RasterSupportType.OcrOmniPagePdfOutput |
LEADTOOLS OCR Module - LEAD Engine (OcrEngineType.LEAD) | OcrSupportLockedExceptionType.Ocr | Unlock RasterSupportType.OcrLEAD |
LEADTOOLS OCR Module - LEAD Engine (OcrEngineType.LEAD) | OcrSupportLockedExceptionType.Pdf | Unlock RasterSupportType.OcrLEADPdfOutput |
LEADTOOLS OCR Module - LEAD Engine (OcrEngineType.LEAD) | OcrSupportLockedExceptionType.PdfA | Unlock RasterSupportType.OcrLEADPdfOutput |
Note at this time, LEADTOOLS OCR Module - LEAD Engine (OcrEngineType.LEAD) is not supported.
For more information on feature support and how to obtain the unlock keys, refer to Unlocking Special LEAD Features, RasterSupport and RasterSupportType.
For an example, refer to OcrException.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document