registerLanguageDictionary Method
This method is used to add language dictionaries to PowerDocs to enable spell checker features.
Parameters
string: The name of the languagestring: The dictionary file name (must be the*.dicfile)string: The thesaurus file name (must be the*.datfile)
Examples
This example shows how to register a dictionary in a custom extension.
import { PowerDocsExtension } from "PowerDocs.Lib";
var ext = PowerDocsExtension.create();
ext.registerLanguageDictionary("French", "index.dic", "thes.dat");
Last modified: 08 avril 2024