SmartZone v7.0 for .NET - Updated
SetRegularExpression Method (Reader)




Accusoft.SmartZoneOCR.Net Assembly > Accusoft.SmartZoneOCRSdk Namespace > Reader Class : SetRegularExpression Method
A valid, POSIX-compatible regular expression
Sets the Regular Expression.
Syntax
'Declaration
 
Public Sub SetRegularExpression( _
   ByVal newRegex As String _
) 
'Usage
 
Dim instance As Reader
Dim newRegex As String
 
instance.SetRegularExpression(newRegex)
public void SetRegularExpression( 
   string newRegex
)
public: void SetRegularExpression( 
   string* newRegex
) 
public:
void SetRegularExpression( 
   String^ newRegex
) 

Parameters

newRegex
A valid, POSIX-compatible regular expression
Exceptions
ExceptionDescription
The input Regular Expression is syntactically incorrect or unsupported.
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

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