Back to Devexpress

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

corelibraries-devexpress-dot-xtraspellchecker-dot-spellcheckerbase-dot-ismisspelledword-x28-string-cultureinfo-position-position-x29.md

latest2.8 KB
Original Source

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.v25.2.Core.dll

NuGet Package : DevExpress.SpellChecker.Core

Declaration

csharp
public virtual bool IsMisspelledWord(
    string text,
    CultureInfo culture,
    Position start,
    Position finish
)
vb
Public Overridable Function IsMisspelledWord(
    text As String,
    culture As CultureInfo,
    start As Position,
    finish As Position
) As Boolean

Parameters

NameTypeDescription
textString

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

TypeDescription
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

Check

SpellCheckerBase Class

SpellCheckerBase Members

DevExpress.XtraSpellChecker Namespace