Saves the OCR engine current settings to a .NET stream.
public void Save(
Stream stream,
OcrWriteXmlOptions xmlOptions
)
Overloads Sub Save( _
ByVal stream As Stream, _
ByVal xmlOptions As Leadtools.Forms.Ocr.OcrWriteXmlOptions _
)
void Save(
Stream^ stream,
Leadtools.Forms.Ocr.OcrWriteXmlOptions^ xmlOptions
)
stream
The stream to write the settings to.
xmlOptions
XML options to use.
Once you set up the OCR engine, you can re-use these settings by saving the engine state into memory or to an XML file on disk. Later, reload these settings and use them in the same or different instance of IOcrEngine.
The following table lists all the states loaded from the XML file. After the load operation completes, some or all of the settings below will be changed.
Part | Members |
---|---|
IOcrSettingManager (accessed through IOcrEngine.SettingManager | All the settings as obtained through IOcrSettingManager.GetSettingNames |
IOcrLanguageManager (accessed through IOcrEngine.LanguageManager | The value of IOcrLanguageManager.GetEnabledLanguages |
IOcrSpellCheckManager (accessed through IOcrEngine.SpellCheckManager | The values of IOcrSpellCheckManager.SpellCheckEngine and IOcrSpellCheckManager.SpellLanguage. |
IOcrDocumentManager (accessed through IOcrEngine.DocumentManager | The values of the IOcrDocumentManager.RejectionSymbol and IOcrDocumentManager.MissingSymbol. |
For an example, refer to Load
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