FormattingShowFont 属性

       

如果该属性值为 True,则 Microsoft Word 显示“样式和格式”任务窗格中的字体格式。Boolean 类型,可读写。

expression.FormattingShowFont

expression   必需。该表达式返回“应用于”列表中的一个对象。

示例

本示例启用“样式和格式”任务窗格中的字体样式显示。

Sub ShowClearFormatting()
    With ActiveDocument
        .FormattingShowClear = False
        .FormattingShowFilter = wdShowFilterFormattingInUse
        .FormattingShowFont = True
        .FormattingShowNumbering = True
        .FormattingShowParagraph = True
    End With
End Sub