Accusoft.SmartZoneICR5.Net - Updated
FieldType Property (Reader)




Accusoft.SmartZoneICRSdk Namespace > Reader Class : FieldType Property
Gets and sets the expected field type of the image to be analyzed.
Syntax
'Declaration
 
Public Property FieldType As FieldType
'Usage
 
Dim instance As Reader
Dim value As FieldType
 
instance.FieldType = value
 
value = instance.FieldType
public FieldType FieldType {get; set;}
public: __property FieldType get_FieldType();
public: __property void set_FieldType( 
   FieldType value
);
public:
property FieldType FieldType {
   FieldType get();
   void set (    FieldType value);
}
Remarks
Setting the field type appropriately can enhance the recognition accuracy by providing information to the control regarding expected content. The FieldType Enumeration provides different predefined formats that the analylzed text could be defined.

Allowed values: GeneralText, Currency, CurrencyPlus, Date, Email, SocialSecurityNumber, Time, UnitedStatesPhoneNumber, URL, RegularExpression and DataValidationList

Default value: GeneralText

This is the input parmaeter for analyzing a filed where as the FieldType in the TextBlockResult is the output.

This setting is best to be used combining with appropriate CharacterSet settings.

This setting can be supplemented by providing custom regular expressions to the field type of interest.

See Also

Reference

Reader Class
Reader Members