PowerDocs online help Help

registerLanguageDictionary Method

This method is used to add language dictionaries to PowerDocs to enable spell checker features.

Parameters

  • string: The name of the language

  • string: The dictionary file name (must be the *.dic file)

  • string: The thesaurus file name (must be the *.dat file)

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