AutoFormatApplyOtherParas 属性

       

如果该属性值为 True,则当 Word 自动设置文档或区域格式时,自动为非标题项或列表项的段落设置样式。Boolean 类型,可读写。

示例

本示例自动为当前选定段落设置样式。

Options.AutoFormatApplyOtherParas = True
Selection.Range.AutoFormat

本示例返回“工具”菜单的“自动更正”对话框中的“自动套用样式”选项卡中的“其他段落”选项的状态。

Dim blnAutoFormat as Boolean

blnAutoFormat = Options.AutoFormatApplyOtherParas