다음을 통해 공유


RichTextBox.GetSpellingErrorRange(TextPointer) 메서드

정의

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 맞춤법 오류를 검사할 문자로 확인되는 위치 및 논리적 방향을 지정하는 A입니다. 이 LogicalDirectionTextPointer 속성을 사용하여 검사할 문자의 방향을 지정합니다.

반환

TextRange 지정한 문자가 포함되거나 지정된 문자에 positionnull 맞춤법 오류가 없는 경우 철자가 틀린 단어를 포함하는 개체입니다.

설명

유사 TextPointerposition 는 일반적으로 두 문자 사이의 위치를 지정합니다. LogicalDirection 검사할 문자를 지정하려면 이 position 속성을 사용합니다.

적용 대상

추가 정보