SmartZone v8.0 - Updated January 12, 2025
Accusoft.SmartZoneOCR.Net Assembly / Accusoft.SmartZoneOCRSdk Namespace / Reader Class / GetFieldRegularExpression Method
Specify the field type to get associated regular expression value




GetFieldRegularExpression Method (Reader)
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)

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