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
03.07.2024 8:50:25