Gets or sets a path to the dictionary file.
This sample shows how to change the dictionary to something other than the default english dictionary.
Imports Infragistics.Win.UltraWinSpellChecker
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'Make the spell checker use the spanish dictionary.
Me.spellChecker.Dictionary = "C:\es-spanish-v2-whole.dict"
'Make the spell checker use a custom user dictionary.
Me.spellChecker.UserDictionary = "C:\MyUserDictionary.txt"
'The language parser should match the dictionary type.
Me.spellChecker.SpellOptions.LanguageParser = LanguageType.Spanish
End Sub
'Declaration
Public Property Dictionary As String
using System.Windows.Forms;
using Infragistics.Win.UltraWinSpellChecker;
private void Form1_Load( object sender, EventArgs e )
{
//Make the spell checker use the spanish dictionary.
this.spellChecker.Dictionary = @"C:\es-spanish-v2-whole.dict";
//Make the spell checker use a custom user dictionary.
this.spellChecker.UserDictionary = @"C:\MyUserDictionary.txt";
//The language parser should match the dictionary type.
this.spellChecker.SpellOptions.LanguageParser = LanguageType.Spanish;
}
'Declaration
Public Property Dictionary As String
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2