ImageGear .NET v24.12 - Updated
AlternativeCharacters Property




ImageGear24.Recognition Assembly > ImageGear.Recognition Namespace > ImGearRecLetter Class : AlternativeCharacters Property
Gets a collection that contains all of the possible alternative characters to the primary choice available from the Code property.
Syntax
'Declaration
 
Public ReadOnly Property AlternativeCharacters As ReadOnlyCollection(Of String)
'Usage
 
Dim instance As ImGearRecLetter
Dim value As ReadOnlyCollection(Of String)
 
value = instance.AlternativeCharacters
public ReadOnlyCollection<string> AlternativeCharacters {get;}
public: __property ReadOnlyCollection<string*>* get_AlternativeCharacters();
public:
property ReadOnlyCollection<String^>^ AlternativeCharacters {
   ReadOnlyCollection<String^>^ get();
}

Property Value

ReadOnlyCollection value.
Remarks

Alternative character values are commonly available for characters that are frequently misrecognized during the OCR process. For example, 'i' and 'l' are common alternatives for each other. Characters recognized with high confidence will typically not have any alternative character values in which case an empty collection is returned.

This is a read-only property. If the ImGearRecPage.SetLetters method is called with an array of ImGearRecLetter class objects that has been modified, this property will be cleared after the subsequent call to ImGearRecPage.Recognize.

See Also

Reference

ImGearRecLetter Class
ImGearRecLetter Members
SetLetters Method