Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Selection.ClearParagraphAllFormatting Method

Removes all paragraph formatting (formatting applied either through paragraph styles or manually applied formatting) from the selected text.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
void ClearParagraphAllFormatting()

This method removes all paragraph formatting. If you need to remove paragraph formatting applied through paragraph styles, use the ClearParagraphStyle() method. To remove paragraph formatting that the user has manually applied using Microsoft Office Word paragraph formatting features, use the ClearParagraphDirectFormatting() method.

NoteNote

To remove character formatting, see the ClearCharacterAllFormatting(), ClearCharacterDirectFormatting(), or ClearCharacterStyle() method.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.