Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Removes text and paragraph formatting from a selection or from the formatting specified in a find or replace operation.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Sub ClearFormatting
'Usage
Dim instance As Replacement
instance.ClearFormatting()
void ClearFormatting()
Remarks
To ensure that formatting isn't included as criteria in a find or replace operation, use this method before carrying out the operation.