Skip to main content
This method creates an empty user pattern file (*.ptn) at the specified location.

Syntax

C++

HRESULT CreateEmptyUserPattern( BSTR FileName );

C#

void CreateEmptyUserPattern( string FileName );

Visual Basic .NET

Sub CreateEmptyUserPattern(FileName As String)

Parameters

FileName [in] This variable contains the full path to the newly created user pattern file,
  • Windows: C:\pattern.ptn
  • Linux: /home/user/Documents/Patterns/pattern.ptn
  • macOS: /Users/user/Documents/pattern.ptn

Return values

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

Remarks

See also

Recognizing with Training Engine EditUserPattern