'Declaration Public Sub SetSpellCheckerSettings( _ ByVal control As Control, _ ByVal spellCheckerSettings As SpellCheckerSettings _ )
public void SetSpellCheckerSettings( Control control, SpellCheckerSettings spellCheckerSettings )
This method associates a SpellCheckerSettings object with a particular control. If there is already an existing SpellCheckerSettings associated with the specified control, then the existing SpellCheckerSettings is removed and replaced with the new SpellCheckerSettings.
Imports Infragistics.Win.UltraWinSpellChecker Private Sub Form1_Load(ByVal sender As Object, ByVal e As EventArgs) Handles MyBase.Load 'The extender property must be set for the rich text box so that it may 'be spell checked. This can also be done through the property grid 'in the forms designer Me.ultraSpellChecker1.SetSpellCheckerSettings(Me.richTextBox1, New SpellCheckerSettings(True)) End Sub
using System.Windows.Forms; using Infragistics.Win.UltraWinSpellChecker; private void Form1_Load(object sender, EventArgs e) { //The extender property must be set for the rich text box so that it may //be spell checked. This can also be done through the property grid //in the forms designer this.ultraSpellChecker1.SetSpellCheckerSettings( this.richTextBox1, new SpellCheckerSettings( true ) ); }
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