Back to Devexpress

SpellCheckerDictionaryBase.AlphabetPath Property

corelibraries-devexpress-dot-xtraspellchecker-dot-spellcheckerdictionarybase-a90fcf2c.md

latest3.3 KB
Original Source

SpellCheckerDictionaryBase.AlphabetPath Property

Gets or sets the path to the alphabet file used for creating the SpellCheckerISpellDictionary.

Namespace : DevExpress.XtraSpellChecker

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

NuGet Package : DevExpress.SpellChecker.Core

Declaration

csharp
public virtual string AlphabetPath { get; set; }
vb
Public Overridable Property AlphabetPath As String

Property Value

TypeDescription
String

A String representing a path to the file with the language alphabet.

|

Remarks

An alphabet file is a plain text file, containing the letter set used for the current dictionary. It is a string of letter characters found in the dictionary’s words. They are intended solely to facilitate the construction of suggestions performed by letter additions and replacements. An upper case letter set is sufficient.

To illustrate this idea, here is an example of the French alphabet:

AÀÁÂÄBCÇDEÈÉÊFGHIÌÍÎÏJKLMNOÓÔÕPQRSTUÙÚÛÜVWXYZ

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AlphabetPath property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-spellchecker-enable-in-text-box/CS/Form1.cs#L28

csharp
SpellCheckerCustomDictionary customDictionary = new SpellCheckerCustomDictionary();
customDictionary.AlphabetPath = @"Dictionaries\EnglishAlphabet.txt";
customDictionary.DictionaryPath = @"Dictionaries\CustomEnglish.dic";

winforms-spellchecker-enable-in-text-box/VB/Form1.vb#L28

vb
Dim customDictionary As SpellCheckerCustomDictionary = New SpellCheckerCustomDictionary()
customDictionary.AlphabetPath = "Dictionaries\EnglishAlphabet.txt"
customDictionary.DictionaryPath = "Dictionaries\CustomEnglish.dic"

See Also

SpellCheckerDictionaryBase Class

SpellCheckerDictionaryBase Members

DevExpress.XtraSpellChecker Namespace