Visual Basic (Declaration) | |
---|---|
Public Interface IOcrSpellCheckManager |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As IOcrSpellCheckManager |
C# | |
---|---|
public interface IOcrSpellCheckManager |
C++/CLI | |
---|---|
public interface class IOcrSpellCheckManager |
You can access the instance of the IOcrSpellCheckManager used by an IOcrEngine through the IOcrEngine.SpellCheckgManager property.
The functionality of the checking subsystem consists of three separate parts:
- Spell checking through the language dictionaries. You can enable and disable the spell languages used through in the system with the IOcrSpellCheckManager.SpellLanguage property.
- User dictionary checking. You can control the use of a user dictionary through the IOcrUserDictionary interface methods accessed by the IOcrSpellCheckManager.UserDictionary property.
- User-defined checking through the use of the global OcrSpellCheckCallback callback which can be set by the IOcrSpellCheckManager.SetSpellCheckCallback method.
The value of the IOcrSpellCheckManager.Enabled acts as a global switch to turn the spell checking system on or off. If the value of this property is false, then no spell checking is perform regardless of the state of the three parts of the system described above.
If the value of the IOcrSpellCheckManager.Enabled is set to true, then the spell checking system is enabled and you can control and enable/disable various aspects of the system by modifying the three parts described above.
Note: The IOcrSpellCheckManager.SpellLanguage property is read only for LEADTOOLS OCR Advantage Engine, setting this property will have no effect because the spell language will always be the same as the currently enabled language.
Note: User-defined checking through the OcrSpellCheckCallback callback is not supported when using the LEADTOOLS OCR Advantage Engine.
Note: User dictionaries are only supported in the Advantage OCR engine in this version of LEADTOOLS. Using the functionality of the IOcrUserDictionary interface in any other engine will have no effect on the recognition results.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Reference
IOcrSpellCheckManager MembersLeadtools.Forms.Ocr Namespace
IOcrEngine Interface
IOcrEngine.Startup
IOcrEngine.IsStarted
IOcrEngine.Shutdown
OcrEngineManager Class
OcrEngineType Enumeration
OcrLanguageGroup Enumeration
Programming with Leadtools .NET OCR
Files to be Included with Your Application
OCR Spell Language Dictionaries
Working With OCR User Dictionaries
OCR Languages and Spell Checking