バージョン

SetSpellCheckerSettings メソッド

指定されたコントロールの SpellCheckerSettings エクステンダー プロパティを設定します。
シンタックス
'宣言
 
Public Sub SetSpellCheckerSettings( _
   ByVal control As Control, _
   ByVal spellCheckerSettings As SpellCheckerSettings _
) 
public void SetSpellCheckerSettings( 
   Control control,
   SpellCheckerSettings spellCheckerSettings
)

パラメータ

control
SpellCheckerSettings プロパティが設定されているコントロール。
spellCheckerSettings
コントロールと関連付けられる SpellCheckerSettings オブジェクト。
解説

このメソッドは、特定のコントロールに SpellCheckerSettings オブジェクトを関連づけます。指定したコントロールと関連付けられた既存の SpellCheckerSettings が存在する場合、既存の SpellCheckerSettings は削除されて新しい 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 ) );
}
参照