TXTextControl.MisspelledWordCollection Class

An instance of the MisspelledWordCollection class contains all misspelled words in the main part of a Text Control document. An instance of this class can be obtained with the TextControl.MisspelledWords, WPF.TextControl.MisspelledWords, HeaderFooter.MisspelledWords or TextFrame.MisspelledWords property. The MisspelledWordCollection class implements the IEnumerable and the ICollection interfaces. Misspelled words are represented through objects of the type MisspelledWord.

Introduced: 16.0.

Syntax

[C#]
public class MisspelledWordCollection : ICollection, IEnumerable
[Visual Basic]
Public Class MisspelledWordCollection
  Implements ICollection
  Implements IEnumerable

Properties

Property Description
Count Gets the number of elements contained in the collection.

Methods

Method Description
CopyTo Copies the elements of the collection to an array, starting at a particular index.
GetCount Returns the number of misspelled words with a special meaning from the collection.
GetEnumerator Returns an enumerator that can be used to iterate through the collection.
GetItem Overloaded. Gets a particular item from the collection.
Ignore Changes the text of the specified misspelled word and marks it as ignored.
Item Gets a misspelled word from the collection.
Remove Overloaded. Removes the specified misspelled word from a Text Control document.

See Also