ShowHyphens Property

True if optional hyphens are displayed. An optional hyphen indicates where to break a word when it falls at the end of a line. Read/write Boolean.

expression.ShowHyphens

expression Required. An expression that returns a View object.

Example

This example inserts an optional hyphen before the selection and then displays optional hyphens in the active window.

Selection.InsertBefore Chr(31)
ActiveDocument.ActiveWindow.View.ShowHyphens = True

Applies to | View Object

See Also | ShowAll Property