The Styles Property is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
Gets the item styles.Visual Basic (Declaration) | |
---|---|
ReadOnly Property Styles As OcrUserDictionaryItemStyles |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As IOcrUserDictionaryItem Dim value As OcrUserDictionaryItemStyles value = instance.Styles |
C# | |
---|---|
OcrUserDictionaryItemStyles Styles {get;} |
C++/CLI | |
---|---|
property OcrUserDictionaryItemStyles Styles { OcrUserDictionaryItemStyles get(); } |
Property Value
A Leadtools.Forms.Ocr.OcrUserDictionaryItemStyles containing the item value.For an example, refer to IOcrUserDictionary.
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 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7