Options.HyphenationZone Property

Publisher Developer Reference

Returns or sets a Variant that represents the maximum amount of space that Microsoft Office Publisher leaves between the end of the last word in a line and the right margin. Read/write.

Syntax

expression.HyphenationZone

expression   A variable that represents a Options object.

Return Value
Variant

Example

This example turns on automatic hyphenation and specifies the maximum amount of space between the end of the last word and the right margin equal to one inch (72 points).

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

See Also