Note: Advice in this article will only work for DotNetBrowser 1.
See the corresponding article for DotNetBrowser 2 here.

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";


' 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;


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.