RichTextBox.GetSpellingErrorRange(TextPointer) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
TextRangeのコンテンツ内の指定した位置にあるスペル ミスのある単語をカバーするRichTextBox オブジェクトを返します。
public:
System::Windows::Documents::TextRange ^ GetSpellingErrorRange(System::Windows::Documents::TextPointer ^ position);
public System.Windows.Documents.TextRange GetSpellingErrorRange(System.Windows.Documents.TextPointer position);
member this.GetSpellingErrorRange : System.Windows.Documents.TextPointer -> System.Windows.Documents.TextRange
Public Function GetSpellingErrorRange (position As TextPointer) As TextRange
パラメーター
- position
- TextPointer
スペル ミスを調べるために文字に解決される位置と論理的な方向を指定する TextPointer 。 このLogicalDirectionの TextPointer プロパティを使用して、調べる文字の方向を指定します。
返品
TextRangeで指定された文字を含むスペルミスのある単語をカバーするposition オブジェクト。指定した文字にスペル ミスが存在しない場合はnull。
注釈
TextPointerのようなpositionは、通常、2 文字の間の位置を指定します。
LogicalDirectionのposition プロパティを使用して、調べる文字を指定します。