Optional OCR engine instance to use when extracting text.
public IOcrEngine OcrEngine { get; set; }
Public Property OcrEngine() As IOcrEngine
Get
Set
public:
property IOcrEngine^ OcrEngine
{
IOcrEngine^ get()
void set(IOcrEngine^ value)
}
public OcrEngine getOcrEngine()
public void setOcrEngine(OcrEngine value)
The optional OCR engine instance to use when extracting text. Default value is null.
This property is not used if the value of TextExtractionMode is DocumentTextExtractionMode.SvgOnly.
The text of the document can be extracted using OCR technologies, in this mode, a valid IOcrEngine instance must be initialized (created and started) and set in the OcrEngine property before DocumentPage.GetText is called.
OcrEngine can be setup with any extra options from outside (such as enable languages, spell checker, accuracy tradeoffs, etc.). The Document class will use the engine as is.
The Document object will not delete the value of OcrEngine when it is disposed. IOcrEngine is thread-safe by nature and the same instance can be set into multiple Document instances and used at the same time.
For more information, refer to Parsing Text with the Documents Library.
Note that setting this property to a value will update the same value in each child document.
For an example, refer to DocumentText.
Products |
Support |
Feedback: OcrEngine Property (DocumentText) - Leadtools.Documents |
Introduction |
Help Version 19.0.2017.3.22
|
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
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.