Share via


RichTextBox.GetNextSpellingErrorPosition Metoda

Definice

Vrátí hodnotu TextPointer , která odkazuje na další pravopisnou chybu v obsahu objektu RichTextBox.

public:
 System::Windows::Documents::TextPointer ^ GetNextSpellingErrorPosition(System::Windows::Documents::TextPointer ^ position, System::Windows::Documents::LogicalDirection direction);
public System.Windows.Documents.TextPointer GetNextSpellingErrorPosition (System.Windows.Documents.TextPointer position, System.Windows.Documents.LogicalDirection direction);
member this.GetNextSpellingErrorPosition : System.Windows.Documents.TextPointer * System.Windows.Documents.LogicalDirection -> System.Windows.Documents.TextPointer
Public Function GetNextSpellingErrorPosition (position As TextPointer, direction As LogicalDirection) As TextPointer

Parametry

position
TextPointer

Určuje TextPointer pozici, ze které se má hledat další pravopisná chyba.

direction
LogicalDirection

A LogicalDirection , ve kterém chcete vyhledat další pravopisnou chybu počínaje zadanou positionhodnotou .

Návraty

A TextPointer , která odkazuje na další pravopisnou chybu v obsahu RichTextBox, nebo null pokud neexistuje žádná další pravopisná chyba.

Platí pro

Viz také