DocumentSpellChecker
Definition
Namespace:Telerik.WinForms.Documents.Proofing
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class DocumentSpellChecker : ISpellChecker
Inheritance: objectDocumentSpellChecker
Implements:
Constructors
public DocumentSpellChecker()
public DocumentSpellChecker(ICustomWordDictionary customDictionary)
Fields
public static readonly int EditDistanceCoefficient
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
Gets or sets a value indicating whether MEF should be used to load default dictionaries.
public bool AutomaticallyLoadDefaultDictionaries { get; set; }
true if default dictionaries should be loaded automatically; otherwise, false.
public SpellCheckerSettings Settings { get; set; }
Implements:
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 ICustomWordDictionary GetCustomDictionary(CultureInfo culture)
Implements:
public IWordDictionary GetDictionary(CultureInfo culture)
Implements:
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: