Skip to main content

SpellCheckerBase.IsMisspelledWord(String, CultureInfo, Position, Position) Method

Checks whether the specified word is misspelled according to the dictionary for the specified culture, starting from and ending at the specified positions.

Namespace: DevExpress.XtraSpellChecker

Assembly: DevExpress.SpellChecker.v24.2.Core.dll

Declaration

public virtual bool IsMisspelledWord(
    string text,
    CultureInfo culture,
    Position start,
    Position finish
)

Parameters

Name Type Description
text String

A String, representing a word to check.

culture CultureInfo

A CultureInfo object, representing a culture for which the check is performed.

start DevExpress.XtraSpellChecker.Parser.Position

A DevExpress.XtraSpellChecker.Parser.Position class descendant, representing the position from which to start checking.

finish DevExpress.XtraSpellChecker.Parser.Position

A DevExpress.XtraSpellChecker.Parser.Position class descendant, representing the position at which to finish checking.

Returns

Type Description
Boolean

true if a word is misspelled; otherwise, false.

Remarks

This method is intended for internal use only. To check a specific word, use the IsMisspelledWord method without start and finish parameters.

See Also