AutoAdjustRightIndent 属性

       

如果该属性值为 True,则 Microsoft Word 会根据您设定的每行字符数自动调整指定段落的右缩进。如果只将某些指定段落的 AutoAdjustRightIndent 属性设为 True,则返回 wdUndefinedLong 类型,可读写。

示例

本示例实现的功能是:设定 Microsoft Word 根据指定的每行字符数,自动调整所选段落的右缩进。

With Selection.ParagraphFormat
    .AutoAdjustRightIndent = True
End With