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.
Visual Basic .NET
Function CreateEmbeddedLanguage( _ type As LanguageTypeEnum, _ prototype As Language _ ) As Language
HRESULT CreateEmbeddedLanguage( LanguageTypeEnum type, ILanguage* prototype, ILanguage** result );
- [in] This variable specifies the type of the created language: simple or group. See the descriptions of the LanguageTypeEnum constants.
- [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.
- [out, retval] A pointer to the ILanguage* variable that receives the interface pointer for the created language.
This method has no specific return values. It returns the standard return values of ABBYY FlexiCapture SDK functions.