EditUserPattern Method of the Engine Object

This method displays the User Pattern dialog box that allows a user to edit user pattern file.



HRESULT EditUserPattern( BSTR FileName );


void EditUserPattern( string FileName );

Visual Basic .NET

Sub EditUserPattern(FileName As String)


[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.


  • 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



24.03.2023 8:51:52

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.