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




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