Skip to main content
This method is implemented in FRE for Windows.
This method displays the User Pattern dialog box that allows a user to edit user pattern file.

Syntax

C++

HRESULT EditUserPattern( BSTR FileName );

C#

void EditUserPattern( string FileName );

Visual Basic .NET

Sub EditUserPattern(FileName As String)

Parameters

FileName [in] This variable contains the full path to the user pattern file that is to be edited. This file should be created by the IEngine::CreateEmptyUserPattern method or by ABBYY FineReader.

Return values

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

Remarks

  • User patterns are files that specify a number of pairs “image of a character — the character itself”. User patterns may be used during recognition to identify characters of non-standard fonts. To use a user pattern during recognition, specify a path to it in the IRecognizerParams::UserPatternsFile property. See Recognizing with Training.
  • The method is enabled only if the license supports the User Patterns Training module.
  • Pattern training is not supported for CJK languages.

See also

Recognizing with Training Engine CreateEmptyUserPattern