Chinese Simplified (简体中文)

OpenExistingDictionary Method of the LanguageDatabase Object

This method opens an existing user dictionary for editing. It returns the interface pointer to the Dictionary object associated with the dictionary.

The OpenExistingDictionary method can open dictionaries created with the help of the ILanguageDatabase::CreateNewDictionary method.

Syntax

HRESULT OpenExistingDictionary(
  BSTR           FileName,
  LanguageIdEnum LanguageId,
  IDictionary**  Result
);
    

Parameters

FileName
[in] Contains the full path to the dictionary file. If the specified dictionary file does not exist, an error is returned.
LanguageId
[in] A variable of LanguageIdEnum type that defines the language for the dictionary.
Result
[out, retval] A pointer to IDictionary* pointer variable that receives the interface pointer to the Dictionary object associated with the dictionary. You may then edit this dictionary via this object's methods.

Return values

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

See also

Working with Dictionaries

LanguageDatabase

CreateNewDictionary

Dictionary

03.07.2024 8:50:25

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.