Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

IRichEditDocumentServer.HyphenationDictionaries Property

Provides access to the collection of hyphenation dictionaries.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v20.2.Core.dll

NuGet Package: DevExpress.RichEdit.Core

Declaration

ICollection<IHyphenationDictionary> HyphenationDictionaries { get; }

Property Value

Type Description
ICollection<IHyphenationDictionary>

A collection of objects implementing the IHyphenationDictionary interface.

Remarks

RichEditDocumentServer supports the following hyphenation dictionaries:

Note that without provided dictionaries, the Document.Hyphenation property has no effect.

The code sample below adds two dictionaries to the dictionary collection:

CustomHyphenationDictionary exceptionsDictionary = new CustomHyphenationDictionary("hyphen_exc.dic", new System.Globalization.CultureInfo("EN-US"));
server.HyphenationDictionaries.Add(exceptionsDictionary);

OpenOfficeHyphenationDictionary hyphenationDictionary = new OpenOfficeHyphenationDictionary("hyph_sl_SI.dic", new System.Globalization.CultureInfo("sl-SL"));
server.HyphenationDictionaries.Add(hyphenationDictionary);
See Also