Click or drag to resize

ILanguagesAdd Method

Adds a language used for spell checking.

Namespace:  DotNetBrowser.SpellCheck
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.16.0
Syntax
C#
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
ExceptionCondition
ArgumentNullExceptionThe 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