Determines suggestions for a specific incorrect word by using selected dictionaries of the DictionaryCollection at TXSpellChecker.Dictionaries and adds the results to the SuggestionCollection at TXSpellChecker.Suggestions. If no maximum number of suggestions is specified, all created suggestions are added to TXSpellChecker.Suggestions. Otherwise, only the first maximum number of suggestions are determined. The second and fourth implementation uses selected dictionaries of the TXSpell.Dictionaries DictionaryCollection and the default dictionary folder where the dictionary's language equals to the defined language parameter. Only those dictionaries are used whose Dictionary.IsGetSuggestionsEnabled properties are set to true.

CreateSuggestions(String)

public void CreateSuggestions(string incorrectWord);
Public Sub CreateSuggestions(incorrectWord As String)

CreateSuggestions(String, System.Globalization.CultureInfo)

public void CreateSuggestions(string incorrectWord, System.Globalization.CultureInfo language);
Public Sub CreateSuggestions(incorrectWord As String, language As System.Globalization.CultureInfo)

CreateSuggestions(String, Int)

public void CreateSuggestions(string incorrectWord, int max);
Public Sub CreateSuggestions(incorrectWord As String, max As Integer)

CreateSuggestions(String, Int, System.Globalization.CultureInfo)

public void CreateSuggestions(string incorrectWord, int max, System.Globalization.CultureInfo language);
Public Sub CreateSuggestions(incorrectWord As String, max As Integer, language As System.Globalization.CultureInfo)

Parameters

Parameter Description
incorrectWord Specifies the incorrect word that has to be determined for suggestions.
language The language that is used to create suggestions for the specified incorrect word.
max Specifies the maximum number of suggestions that has to be determined.