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

C++

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

C#

IDictionary CreateNewDictionary(
  string         FileName,
  LanguageIdEnum LanguageId
);
    

Visual Basic .NET

Function CreateNewDictionary( _
  FileName As String, _
  LanguageId As LanguageIdEnum, _
) As IDictionary
    

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

24.03.2023 8:51:52

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.