Skip to main content

SpellCheckerOptions Class

Contains options that specify how the spell checker should process text in any range of the document.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v24.1.Core.dll

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

[ComVisible(true)]
public class SpellCheckerOptions :
    RichEditNotificationOptions

The following members return SpellCheckerOptions objects:

Remarks

A document may contain text ranges for which a proofing language is specified, or the ranges can be marked as “no-proof”. The “no-proof” means that the contents of this range should not be checked by spelling and grammar proofing tools.

End-users can invoke the Language Dialog to set the spelling check language of the selected text.

You can use the CharacterPropertiesBase.Language and CharacterPropertiesBase.NoProof properties to specify these options in code for any document range. The RichEditControlOptionsBase.SpellChecker property provides access to the SpellCheckerOptions instance and allows you to set proofing options for the entire document. In other words, when you set the SpellCheckerOptions.IgnoreNoProof to true, no part of the document can avoid spelling check.

See Also