Compartilhar via


View.ShowHyphens Property

Word Developer Reference

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.

Syntax

expression.ShowHyphens

expression   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.

Visual Basic for Applications
  Selection.InsertBefore Chr(31)
ActiveDocument.ActiveWindow.View.ShowHyphens = True

See Also