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
9/17/2024 3:14:41 PM