Share via


HyphenationZone Property [Publisher 2003 VBA Language Reference]

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

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

Applies to | Options Object