Back to Devexpress

ASPxRichEditSpellCheckerSettings.LevenshteinDistance Property

aspnet-devexpress-dot-web-dot-aspxrichedit-dot-aspxricheditspellcheckersettings-782c446c.md

latest2.0 KB
Original Source

ASPxRichEditSpellCheckerSettings.LevenshteinDistance Property

Gets or sets the parameter used to measure the proximity of words.

Namespace : DevExpress.Web.ASPxRichEdit

Assembly : DevExpress.Web.ASPxRichEdit.v25.2.dll

NuGet Package : DevExpress.Web.Office

Declaration

csharp
[DefaultValue(4)]
public int LevenshteinDistance { get; set; }
vb
<DefaultValue(4)>
Public Property LevenshteinDistance As Integer

Property Value

TypeDefaultDescription
Int324

An integer value that is the maximum number of steps used to convert the misspelled word into a suggested one.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to LevenshteinDistance
ASPxRichEditSettings

.SpellChecker .LevenshteinDistance

|

Remarks

The Levenshtein distance is the minimum number of operations needed to transform one string into another, where the operation is an insertion, deletion, or substitution of a single character.

This parameter specifies the maximum allowed value of the distance, and has an effect on the number of suggested words and their order.

See Also

ASPxRichEditSpellCheckerSettings Class

ASPxRichEditSpellCheckerSettings Members

DevExpress.Web.ASPxRichEdit Namespace