Chinese Simplified (简体中文)

CreateNewDictionary Method of the LanguageDatabase Object

This method creates a new empty user dictionary at the specified location and returns interface pointer of the Dictionary object associated with it.

Syntax

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

Parameters

FileName
[in] Contains the full path to the dictionary file to be created. If the specified dictionary file already exists, it is overwritten without prompt.
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 of the Dictionary object associated with the newly created dictionary. You may then edit this dictionary via this object 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

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.