SmartZone v6.0 for .NET - Updated
RejectionCharacter Property (Reader)




Accusoft.SmartZoneOCR.Net Assembly > Accusoft.SmartZoneOCRSdk Namespace > Reader Class : RejectionCharacter Property
Gets and sets the character used as a replacement for any character with a confidence below MinimumCharacterConfidence.
Syntax
'Declaration
 
Public Property RejectionCharacter As Char
'Usage
 
Dim instance As Reader
Dim value As Char
 
instance.RejectionCharacter = value
 
value = instance.RejectionCharacter
public char RejectionCharacter {get; set;}
public: __property char get_RejectionCharacter();
public: __property void set_RejectionCharacter( 
   char value
);
public:
property char RejectionCharacter {
   char get();
   void set (    char value);
}
Exceptions
ExceptionDescription
The value is 0 (null character).
Remarks

Valid range: Any character except the null character. The rejection character does not need to be in the valid set of recognizable characters.

Default value: '~'

This property controls which character is used in the output text when recognition can not determine a value. The rejection character is used whenever the confidence for a character is below the MinimumCharacterConfidence property.

Confidence will be 0 when (and only when) the rejection character is used, since it is not an actually recognized character.

See Also

Reference

Reader Class
Reader Members