Definition
Namespace:Telerik.WinForms.Documents.Proofing
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class DocumentProofingManager
Inheritance: objectDocumentProofingManager
Constructors
Initializes a new instance of the DocumentProofingManager class.
public DocumentProofingManager(RadDocument document, ISpellChecker spellChecker, IIgnoredWordDictionary ignoredWords)
The document.
spellCheckerISpellCheckerThe spell checker to be used.
ignoredWordsIIgnoredWordDictionaryA list of words that should be ignored.
Properties
Gets or sets the maximum incorrect words number. Negative value means unlimited.
public int MaximumIncorrectWordsNumber { get; set; }
The maximum incorrect words number.
Methods
Gets the list of incorrect words.
public IList<WordInfo> GetIncorrectWordList()
IList<WordInfo>
The list of incorrect words.
Gets the next error.
public TextRange GetNextError(DocumentPosition fromPosition, DocumentPosition toPosition)
Start position.
toPositionDocumentPositionEnd position.
Returns:The next error in the specified range.
Gets the next error.
public TextRange GetNextError(DocumentPosition fromPosition)
Start position.
Returns:The next error.
Gets the next error.
public WordInfo GetNextErrorWord(DocumentPosition fromPosition, DocumentPosition toPosition)
Start position.
toPositionDocumentPositionEnd position.
Returns:The next error in the specified range.
Gets the next error.
public WordInfo GetNextErrorWord(DocumentPosition fromPosition)
Start position.
Returns:The next error.
Updates the list of incorrect words.
public void UpdateIncorrectWordsList()
Updates the list of incorrect words.
public void UpdateIncorrectWordsList(DocumentPosition fromPosition, DocumentPosition toPosition)
Position to start the update from.
toPositionDocumentPositionThe end position.