Accusoft.SmartZoneOCR5.Net - Updated
SetRegularExpression Method






Accusoft.SmartZoneOCRSdk Namespace > Reader Class : SetRegularExpression Method
A valid, POSIX-compatible regular expression
Sets the Regular Expression.
Syntax
'Declaration
 
<System.Diagnostics.DebuggerStepThroughAttribute()>
<System.Diagnostics.DebuggerNonUserCodeAttribute()>
Public Sub SetRegularExpression( _
   ByVal newRegex As System.String _
) 
'Usage
 
Dim instance As Reader
Dim newRegex As System.String
 
instance.SetRegularExpression(newRegex)
[System.Diagnostics.DebuggerStepThrough()]
[System.Diagnostics.DebuggerNonUserCode()]
public void SetRegularExpression( 
   System.string newRegex
)
public procedure SetRegularExpression( 
    newRegex: System.String
); 
System.Diagnostics.DebuggerStepThroughAttribute()
System.Diagnostics.DebuggerNonUserCodeAttribute()
public function SetRegularExpression( 
   newRegex : System.String
);
[System.Diagnostics.DebuggerStepThrough()]
[System.Diagnostics.DebuggerNonUserCode()]
public: void SetRegularExpression( 
   System.string* newRegex
) 
[System.Diagnostics.DebuggerStepThrough()]
[System.Diagnostics.DebuggerNonUserCode()]
public:
void SetRegularExpression( 
   System.String^ newRegex
) 

Parameters

newRegex
A valid, POSIX-compatible regular expression
Remarks

Sets the regular expression string to be used in recognition when the FieldType is set to RegularExpression.

See Also

Reference

Reader Class
Reader Members
GetRegularExpression Method