The following code sample enables the word hyphenation in RichEditDocumentServer. To accomplish the task, you must first add a hyphenation dictionary to the RichEditDocumentServer.HyphenationDictionaries collection. Once you link hyphenation dictionaries, you can enable or suppress automatic hyphenation in code or within the UI.
Note
Please note that DevExpress does not offer hyphenation dictionaries. In this example, we utilize an American hyphenation dictionary from this site: LibreOffice.org - English Dictionaries. You can download the dictionary source (including the license agreement) from this link. If you wish to use this dictionary in your application, please ensure the relevant license agreement permits it.
- Program.cs (VB: Program.vb)
(you will be redirected to DevExpress.com to submit your response)