Chinese Simplified (简体中文)

LoadFrom Method of the LanguageDatabase Object

This method loads custom languages into the LanguageDatabase object.

Custom languages can be created with the help of ABBYY FineReader Engine Visual Components. The procedure of creating and importing recognition languages 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

3/24/2023 8:51:52 AM

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.