Share via


Options.AutoHyphenate Property

Publisher Developer Reference

True (default) for Microsoft Office Publisher to automatically hyphenate text in text frames. Read/write Boolean.

Syntax

expression.AutoHyphenate

expression   A variable that represents an Options object.

Return Value
Boolean

Example

This example turns on automatic hyphenation for Publisher and sets the amount of space from the right margin to use when hyphenating words to one inch (72 points).

Visual Basic for Applications
  Sub SetHyphenationZone()
    With Options
        .AutoHyphenate = True
        .HyphenationZone = 72
    End With
End Sub

See Also