RichTextBox.GetNextSpellingErrorPosition Méthode

Définition

Retourne un TextPointer qui signale la faute d'orthographe suivante dans le contenu de la 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

Paramètres

position
TextPointer

TextPointer qui indique une position à partir de laquelle rechercher la faute d'orthographe suivante.

direction
LogicalDirection

LogicalDirection dans lequel rechercher l’erreur d’orthographe suivante, en commençant à l’emplacement spécifiéposition.

Retours

TextPointer qui signale la faute d'orthographe suivante dans le contenu de la RichTextBox, ou valeur null si aucune autre faute n'est détectée.

S’applique à

Voir aussi