FindLanguage Method of the PredefinedLanguages Object

This method finds an element of the PredefinedLanguages collection by its internal name and returns a pointer to its interface.


Visual Basic .NET

Function FindLanguage(InternalName As String) As Language


HRESULT FindLanguage(
  BSTR        InternalName,
  ILanguage** Result


[in] This variable specifies the internal name of the language.
[out, retval] A pointer to the ILanguage* pointer variable that receives the interface pointer of the Language object with the specified internal name. Returns NULL, if the language with the specified name is not found.

Return values

If the specified language is not available, this method returns E_INVALIDARG error code and NULL pointer to the language. It may also return standard return values of ABBYY FlexiCapture SDK functions.

See also



15.08.2023 13:19:30

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.