AutoHyphenation 属性

       

如果该属性值为 True,表示指定文档已启动自动断字功能。Boolean 类型,可读写。

示例

本示例启动自动断字功能,断字区为 0.25 英寸。全为大写的单词不断字。

With ActiveDocument
    .HyphenationZone = InchesToPoints(0.25)
    .HyphenateCaps = False
    .AutoHyphenation = True
End With