Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.9
|
Leadtools.Forms.Ocr Assembly > Leadtools.Forms.Ocr Namespace > IOcrSettingManager Interface > Save Method : Save(Stream,OcrWriteXmlOptions) Method |
void Save( Stream stream, OcrWriteXmlOptions xmlOptions )
'Declaration
Overloads Sub Save( _ ByVal stream As Stream, _ ByVal xmlOptions As OcrWriteXmlOptions _ )
'Usage
Dim instance As IOcrSettingManager Dim stream As Stream Dim xmlOptions As OcrWriteXmlOptions instance.Save(stream, xmlOptions)
void Save( Stream stream, OcrWriteXmlOptions xmlOptions )
function Leadtools.Forms.Ocr.IOcrSettingManager.Save(Stream,OcrWriteXmlOptions)( stream , xmlOptions )
void Save( Stream^ stream, OcrWriteXmlOptions^ xmlOptions )
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. |