Visual Basic (Declaration) | |
---|---|
Public Interface IOcrUserDictionaryItem |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public interface IOcrUserDictionaryItem |
C++/CLI | |
---|---|
public interface class IOcrUserDictionaryItem |
Important 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.
To create a new item and add it to a user dictionary, first use IOcrUserDictionary.CreateItem to create the item then use IOcrUserDictionary.Addtem to add it.
To delete an item from a user dictionary, use IOcrUserDictionary.GetFirstItem and IOcrUserDictionary.GetNextItem till you get the item required, then use IOcrUserDictionary.RemoveItem to delete it.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family