WindowsmacOSWeb 选择要返回到其默认格式的文本。 在Word 和发布服务器中 在“开始”选项卡上的“字体”组中,单击“清除所有格式”。 在PowerPoint 中 在“开始”选项卡上的“字体”组中,单击“清除所有格式”。 在Outlook 中 在“邮件”选项卡上的“基本文本”组中,单击...
Microsoft.Office.Interop.Word 程序集: Microsoft.Office.Interop.Word.dll 从选定内容或从查找或替换操作中指定的格式中删除文本和段落格式。 C# publicvoidClearFormatting(); 注解 若要确保格式设置未作为条件包含在查找或替换操作中,请在执行操作之前使用此方法。
Select the text that you want to return to its default formatting. In Word and Publisher On theHometab, in theFontgroup, clickClear All Formatting. In PowerPoint On theHometab, in theFontgroup, clickClear All Formatting. In Outlook On theMessagetab, in theBasic Textgroup, clickClear All F...
expression。ClearCharacterAllFormatting 表达返回Selection对象的表达式。 备注 此方法将删除所有字符格式。 通过字符样式应用如果您需要删除格式,请使用ClearCharacterStyle方法。 若要删除用户手动应用使用 Microsoft Word 格式功能的字符的字符格式,请使用ClearCharacterDirectFormatting方法。
ClearParagraphAllFormatting表达 返回Selection 对象的表达式。备注此方法将删除所有段落格式。 如果您需要删除通过段落样式应用的段落格式,请使用 ClearParagraphStyle 方法。 若要删除用户手动应用使用 Microsoft Word 格式功能的段落的段落格式,请使用 ClearParagraphDirectFormatting 方法。
如果您需要删除通过段落样式应用的段落格式,请使用 ClearParagraphStyle 方法。 若要删除用户手动应用使用 Microsoft Word 格式功能的段落的段落格式,请使用 ClearParagraphDirectFormatting 方法。备注 [!注释] 要删除字符格式,请参阅 ClearCharacterAllFormatting、 ClearCharacterDirectFormatting 或ClearCharacterStyle 方法。
FormattingShowClear Truefor Microsoft Word to show clear formatting in theStyles and Formattingtask pane. Read/writeBoolean. FormattingShowFilter 设置或返回一个WdShowFilter常量,该常量表示的样式和格式显示在样式和格式任务窗格中。读/写boolean 类型的值。
publicboolFormattingShowClear {get;set; } Property Value Boolean trueif Microsoft Office Word shows Clear Formatting in the Styles and Formatting task pane; otherwise,false. Applies to ProduktsVersijas Visual Studio Tools for Office2017, 2019, 2022 ...
Microsoft.Office.Tools.Word.dll, Microsoft.Office.Tools.Word.v4.0.Utilities.dll获取或设置一个值,用于指示 Microsoft Office Word 是否在“样式和格式”任务窗格中显示“清除格式”。 C# 复制 public bool FormattingShowClear { get; set; } 属性值 Boolean true如果Microsoft Office Word在“样式和格式”任...
Microsoft.Office.Tools.Word.dll, Microsoft.Office.Tools.Word.v4.0.Utilities.dll获取或设置一个值,用于指示 Microsoft Office Word 是否在“样式和格式”任务窗格中显示“清除格式”。 C# 复制 public bool FormattingShowClear { get; set; } 属性值 Boolean true如果Microsoft Office Word在“样式和格式”任...