RichTextBox.GetNextSpellingErrorPosition Método

Definición

Devuelve un TextPointer objeto que apunta al siguiente error ortográfico en el contenido de .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

Parámetros

position
TextPointer

que TextPointer indica una posición desde la que buscar el siguiente error ortográfico.

direction
LogicalDirection

objeto LogicalDirection en el que se va a buscar el siguiente error ortográfico, empezando por el especificado position.

Devoluciones

que TextPointer apunta al siguiente error ortográfico en el contenido de RichTextBoxo null si no existe ningún error ortográfico siguiente.

Se aplica a

Consulte también