corelibraries-devexpress-dot-xtraspellchecker-dot-dictionarybase-15d1ecbf.md
Loads and initializes the dictionary.
Namespace : DevExpress.XtraSpellChecker
Assembly : DevExpress.SpellChecker.v25.2.Core.dll
NuGet Package : DevExpress.SpellChecker.Core
public void Load()
Public Sub Load
The Load method clears the previous dictionary and loads dictionary files from paths specified by the DictionaryPath and GrammarPath properties. Make sure that these properties are specified before you call this method.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Load() method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-spellchecker-enable-in-text-box/CS/Form1.cs#L62
ispellDictionaryEnglish.Culture = new CultureInfo("en-US");
ispellDictionaryEnglish.Load();
spellChecker1.Dictionaries.Add(ispellDictionaryEnglish);
winforms-spellchecker-enable-in-text-box/VB/Form1.vb#L58
ispellDictionaryEnglish.Culture = New CultureInfo("en-US")
ispellDictionaryEnglish.Load()
spellChecker1.Dictionaries.Add(ispellDictionaryEnglish)
See Also