CreateEmbeddedLanguage Method of the TextRecognitionParams Object

This method creates a recognition language from an existing one. This language can then be assigned to the ITextRecognitionParams::Language property.

You can create a simple or group language depending on the specified type. For example, you can create a simple language on the base of the English language, change some its parameters, and then use it for recognition of a field.

Syntax

Visual Basic .NET

Function CreateEmbeddedLanguage( _
  type As LanguageTypeEnum, _
  prototype As Language _
) As Language
    

C++

HRESULT CreateEmbeddedLanguage(
  LanguageTypeEnum type,
  ILanguage*       prototype,
  ILanguage**      result
);
    

Parameters

type
[in] This variable specifies the type of the created language: simple or group. See the descriptions of the LanguageTypeEnum constants.
prototype
[in] This variable refers to the Language object, which should be used as a prototype for the new language creation. This language must have the same type as specified in the type parameter. You may pass NULL as the value of this parameter, in which case the default Language object of the type specified will be created.
result
[out, retval] A pointer to the ILanguage* variable that receives the interface pointer for the created language.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FlexiCapture SDK functions.

See also

TextRecognitionParams

Setting Up Recognition Languages

8/15/2023 1:19:30 PM

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.