Skip to main content
This method sets the regular expression to which the dictionary words must conform.

Syntax

C++

HRESULT SetText( BSTR NewValue );

C#

void SetText( string NewValue );

Visual Basic .NET

Sub SetText(NewValue As String)

Parameters

NewValue [in] This variable contains the regular expression. For example, the regular expression [0-9]+ specifies that the dictionary accepts the “words” made up of one or more digits.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.

See also

RegExpDictionaryDescription Working with ABBYY FineReader Engine Regular Expressions