LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)
LEAD Technologies, Inc

Save(Stream) Method






The stream to write the settings to.
Saves the OCR engine current settings to a .NET stream. .NET support
Syntax
void Save( 
   Stream stream
)
'Declaration
 
Overloads Sub Save( _
   ByVal stream As Stream _
) 
'Usage
 
Dim instance As IOcrSettingManager
Dim stream As Stream
 
instance.Save(stream)
void Save( 
   Stream stream
)
function Leadtools.Forms.Ocr.IOcrSettingManager.Save(Stream)( 
   stream 
)
void Save( 
   Stream^ stream
) 

Parameters

stream
The stream to write the settings to.
Remarks

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.

Example
For an example, refer to Load(Stream)
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IOcrSettingManager Interface
IOcrSettingManager Members
Overload List
Programming with the LEADTOOLS .NET OCR

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Save(Stream) requires an OCR module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features