By default spell checker is enabled and configured to use English (en-US) language. Chromium engine checks text in all text fields and text areas on the loaded web page and highlights all misspelled words.
DotNetBrowser provides API that allows enabling/disabling spell checker and configuring it to use specified language. The following code demonstrates how to enable spell checker functionality and configure it to use French (Standard) language (fr):
// Enable SpellChecker service. browser.Context.SpellCheckerService.Enabled = true; // Configure SpellChecker's language. browser.Context.SpellCheckerService.Language = "fr-FR";
Force Full Spell Check
To enable force spell checking, you can use the following code:
browser.Context.SpellCheckerService.FullSpellCheckForced = true;
Chromium supports both custom dictionary and dictionaries for different languages. It downloads required dictionary for the current language automatically. You can also add words to your custom dictionary which is stored in Chromium user's profile directory.