The type of support (feature) needing to be unlocked that caused the error.
[SerializableAttribute()]
public enum OcrSupportLockedExceptionType
<SerializableAttribute()>
Public Enum OcrSupportLockedExceptionType
[SerializableAttribute()]
public enum OcrSupportLockedExceptionType
public enum OcrSupportLockedExceptionType
Leadtools.Forms.Ocr.OcrSupportLockedExceptionType = function() { };
Leadtools.Forms.Ocr.OcrSupportLockedExceptionType.prototype = {<br/>
Ocr = 0,
Icr = 1,
Omr = 2,
Pdf = 3,
PdfA = 4,
Arabic = 5,
EnginePdf = 6,
OcrProfessionalAsian = 7,
};
[SerializableAttribute()]
public enum class OcrSupportLockedExceptionType
Members
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 | Arabic | OCR Arabic 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 | OcrProfessionalAsian | Ocr Professional 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:
Note at this time, LEADTOOLS OCR Advantage Engine (OcrEngineType.Advantage) 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.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET