Back to Devexpress

CustomHyphenationDictionary Class

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-f6c2d297.md

latest2.1 KB
Original Source

CustomHyphenationDictionary Class

Represents a custom hyphenation dictionary.

Namespace : DevExpress.XtraRichEdit.API.Native

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
public class CustomHyphenationDictionary :
    HyphenationDictionaryBase
vb
Public Class CustomHyphenationDictionary
    Inherits HyphenationDictionaryBase

Remarks

Use the CustomHyphenationDictionary class object to use hyphenation pattern files containing words divided into syllables, (e.g., hy-phen-ation).

The code sample below shows how to create a CustomHyphenationDictionary and add it to the component’s collection:

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

Implements

IHyphenationDictionary

Inheritance

Object HyphenationDictionaryBase CustomHyphenationDictionary

See Also

CustomHyphenationDictionary Members

DevExpress.XtraRichEdit.API.Native Namespace