返回或设置断字区的宽度,以磅为单位。断字区是 Microsoft Word 在一行最后一个单词与右边距间的保留的最大距离。Long 类型,可读写。
本示例为 MyReport.doc 启用自动断字功能。并将断字区的宽度设置为 36 磅(0.5 英寸)。
With Documents("MyReport.doc")
.AutoHyphenation = True
.HyphenationZone = 36
End With
本示例将断字区的宽度设置为 0.25 英寸(18 磅),并启用活动文档的手动断字功能。
With ActiveDocument
.HyphenationZone = InchesToPoints(0.25)
.ManualHyphenation
End With