SmartZone v7.2 - Updated
GetFieldRegularExpression Method (Reader)




Accusoft.SmartZoneOCR.Net Assembly > Accusoft.SmartZoneOCRSdk Namespace > Reader Class : GetFieldRegularExpression Method
Specify the field type to get associated regular expression value
Gets the regular expression string that was previously set by SetFieldRegularExpression.
Syntax
'Declaration
 
Public Function GetFieldRegularExpression( _
   ByVal field As FieldType _
) As String
'Usage
 
Dim instance As Reader
Dim field As FieldType
Dim value As String
 
value = instance.GetFieldRegularExpression(field)
public string GetFieldRegularExpression( 
   FieldType field
)
public: string* GetFieldRegularExpression( 
   FieldType field
) 
public:
String^ GetFieldRegularExpression( 
   FieldType field
) 

Parameters

field
Specify the field type to get associated regular expression value

Return Value

The current regular expression string associated with the given field type.
Exceptions
ExceptionDescription
The input FieldType is General Text, DataValidationList, or Unknown.
Remarks
FieldType.GeneralText, FieldType.Unknown and FieldType.DataValidationList are not valid as input field types for this method.
See Also

Reference

Reader Class
Reader Members
SetFieldRegularExpression Method
ClearFieldRegularExpression Method

Is this page helpful?
Yes No
Thanks for your feedback.