All docs
V20.1
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

Hyphenation Dialog

The RichEditControl ships with an integrated Hyphenation dialog, shown in the images below.

dialog

End users can use the Page Setup group on the Page Layout ribbon tab to invoke the Hyphenation dialog. Refer to the How to: Create the RichEditControl with a Ribbon UI topic for information on how to add a Ribbon UI to the RichEditControl.

dialog-invoke

This dialog allows you to enable automatic hyphenation and specify whether to hyphenate words in CAPS.

Invoke the Dialog in Code

You can use ChangeHyphenationOptionsCommand to invoke this dialog. You can handle the RichEditControl.HyphenationFormShowing event to perform actions before the Hyphenation dialog is displayed, customize the default dialog (modify captions, set default dialog values, implement custom validation, etc.) or substitute it with a new dialog.

TIP

Use the Document.Hyphenation and Document.HyphenateCaps options to change the hyphenation options in code.