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 맞춤법 오류를 검사할 문자로 확인되는 위치 및 논리적 방향을 지정하는 A입니다. 이 LogicalDirectionTextPointer 속성을 사용하여 검사할 문자의 방향을 지정합니다.
반환
TextRange 지정한 문자가 포함되거나 지정된 문자에 positionnull 맞춤법 오류가 없는 경우 철자가 틀린 단어를 포함하는 개체입니다.
설명
유사 TextPointerposition 는 일반적으로 두 문자 사이의 위치를 지정합니다.
LogicalDirection 검사할 문자를 지정하려면 이 position 속성을 사용합니다.