DocumentSpellChecker
Definition
Namespace:Telerik.WinControls.SpellChecker.Proofing
Assembly:Telerik.WinControls.SpellChecker.dll
Syntax:
public class DocumentSpellChecker : ISpellChecker, IDisposable
Inheritance: objectDocumentSpellChecker
Implements:
Constructors
public DocumentSpellChecker()
public DocumentSpellChecker(ICustomWordDictionary customDictionary)
Fields
public static readonly int EditDistanceCoeficient
public static readonly int EditDistanceLimit
public static readonly int EditDistanceOneBoost
public static readonly int EditDistanceScanLimit
public static readonly int EndsDifferencePenalty
public static readonly int MaxNumberOfSuggestions
public static readonly int MetaphoneEqualBoost
Properties
public CultureInfo SpellCheckingCulture { get; set; }
Implements:
Methods
Adds a custom dictionary with the specified culture to the spell checker. If a dictionary with this culture already exists, it is overwritten.
public void AddCustomDictionary(ICustomWordDictionary customDictionary, CultureInfo culture)
Adds a dictionary with the specified culture to the spell checker. If a dictionary with this culture already exists, it is overwritten.
public void AddDictionary(IWordDictionary dictionary, CultureInfo culture)
Adds a lazily initialized dictionary with the specified culture to the spell checker. If a dictionary with this culture already exists, it is overwritten.
public void AddDictionary(Lazy<IWordDictionary> lazyDictionary, CultureInfo culture)
public void AddWord(string word, CultureInfo culture)
Implements:
public bool CheckWordIsCorrect(string word, CultureInfo culture)
Implements:
public void Dispose()
Implements:
public ICustomWordDictionary GetCustomDictionary(CultureInfo culture)
public ICollection<string> GetSuggestions(string word, CultureInfo culture)
ICollection<string>
Implements:
Removes the custom dictionary with the specified culture from the spell checker. This method returns false if no such dictionary is found.
Removes the dictionary with the specified culture from the spell checker. This method returns false if no such dictionary is found.
public void RemoveWord(string word, CultureInfo culture)
Implements:
Events
public event EventHandler DataChanged
Implements: