Limitations
Read only.
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.
public int Number { get; }
Public ReadOnly Property Number() As Integer
The following example shows an easy use of the 'TXText
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
'...
Read only.