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

Save(String) Method






The name of the file containing the settings to read.
Saves the OCR engine current settings to a disk file. .NET support
Syntax
void Save( 
   string fileName
)
'Declaration
 
Overloads Sub Save( _
   ByVal fileName As String _
) 
'Usage
 
Dim instance As IOcrSettingManager
Dim fileName As String
 
instance.Save(fileName)
void Save( 
   string fileName
)
function Leadtools.Forms.Ocr.IOcrSettingManager.Save(String)( 
   fileName 
)
void Save( 
   String^ fileName
) 

Parameters

fileName
The name of the file containing the settings to read.
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(String)
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(String) requires an OCR module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features