Adds a language used for spell checking.
Namespace:
DotNetBrowser.SpellCheck
Assembly:
DotNetBrowser (in DotNetBrowser.dll) Version: 2.16.1
Syntax Task Add(
Language language
)
Parameters
- language
- Type: DotNetBrowser.SpellCheckLanguage
The language to use for spell checking.
Return Value
Type:
Task
The task that can be used to wait until the dictionary is loaded from the user data directory.
The task will fail with
LanguageNotAvailableException
if Chromium fails to download the dictionary for the given language.
Exceptions Exception | Condition |
---|
ArgumentNullException | The language is null. |
ObjectDisposedException |
The ISpellChecker has already been disposed.
|
Remarks
If the dictionary does not exist in the user data directory, the engine will download it from the remote server.
See Also