HyphenationZone Property

Microsoft Publisher Visual Basic

expression.HyphenationZone

expression    Required. An expression that returns one of the objects in the Applies To list.

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

Sub SetHyphenationZone()
    With Options
        .AutoHyphenate = True
        .HyphenationZone = 72
    End With
End Sub