ClearParagraphStyle 方法 (Word)Selection.ClearParagraphStyle method (Word)

从所选文本中删除通过段落样式应用的段落格式。Removes paragraph formatting that has been applied through paragraph styles from the selected text.


expressionexpression. ClearParagraphStyle

_表达式_一个返回**Selection** 对象的表达式。expression An expression that returns a Selection object.


此方法不会删除用户手动应用的段落格式。This method does not remove paragraph formatting that a user has applied manually. 若要删除手动应用的段落格式, 请使用**ClearParagraphDirectFormatting** 方法。To remove manually applied paragraph formatting, use the ClearParagraphDirectFormatting method. 若要删除所有段落格式,样式和手动格式设置,请使用 ClearParagraphAllFormatting 方法。To remove all paragraph formatting, both style and manual formatting, use the ClearParagraphAllFormatting method.


若要删除字符格式, 请参阅**ClearCharacterAllFormattingClearCharacterDirectFormattingClearCharacterStyle** 方法。To remove character formatting, see the ClearCharacterAllFormatting, ClearCharacterDirectFormatting, or ClearCharacterStyle method.

另请参阅See also

Selection 对象Selection Object

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.