Skip to main content
This method loads custom languages into the LanguageDatabase object.
Visual Components are currently only supported for Windows.
Custom languages must be created in ABBYY FineReader Engine for Windows using Visual Components. The procedure for creating and importing recognition languages using Visual Components is as follows:
  1. Create a custom language with the required parameters in the Language Editor dialog box of Image Viewer, Zoom Viewer, or Document Viewer. The textlang.dat, *.amd files will be created. By default, the files are created in the FineReader Engine data folder (you can change the default value when loading FineReader Engine). You may then redistribute them with your custom ABBYY FineReader Engine-based application.
  2. Load the created languages by a call to the ILanguageDatabase::LoadFrom method.

Syntax

C++

HRESULT LoadFrom( BSTR FolderPath );

C#

void LoadFrom( string FolderPath );

Visual Basic .NET

Sub LoadFrom(FolderPath As String )

Parameters

FolderPath [in] This parameter specifies the full path to folder where the necessary files are stored. These files are textlang.dat and *.amd.

Return values

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

Remarks

You may initialize the LanguageDatabase object before using it; otherwise, only predefined languages will be available through it.

See also

LanguageDatabase