Gets the number of this misspelled word. All misspelled words are counted from the beginning to the end of a document. The first word has the number 1.

Syntax

public int Number { get; }
Public ReadOnly Property Number() As Integer

Examples

The following example shows an easy use of the 'TXTextControl.MisspelledWord.Number' property. Here, it is stored in a variable of the type 'int'.

TXTextControl.MisspelledWord myMisspelledWord = new TXTextControl.MisspelledWord(1, 4);
int myMisspelledWordNumber = myMisspelledWord.Number;
//...
if (myMisspelledWordNumber == 1) {
    System.Windows.Forms.MessageBox.Show(" This misspelled word is also the first erroneous word of the document!");
}
else {
System.Windows.Forms.MessageBox.Show("This misspelled word is the erroneous word no.: " + myMisspelledWordNumber.ToString() + " of this document!");
}
//...
Dim myMisspelledWord As TXTextControl.MisspelledWord = New TXTextControl.MisspelledWord(1, 4)
Dim myMisspelledWordNumber As Integer = myMisspelledWord.Number
'...
If myMisspelledWordNumber = 1 Then
    System.Windows.Forms.MessageBox.Show(" This misspelled word is also the first erroneous word of the document!")
Else
    System.Windows.Forms.MessageBox.Show("This misspelled word is the erroneous word no.: " & myMisspelledWordNumber.ToString() & " of this document!")
End If
'...

Limitations

Read only.