This topic has not yet been rated - Rate this topic

Replacement.ClearFormatting Method 

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)

'Usage
Dim replacement1 As Replacement
replacement1.ClearFormatting()
void ClearFormatting();
public void ClearFormatting();
function ClearFormatting();

To ensure that formatting isn't included as criteria in a find or replace operation, use this method before carrying out the operation.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.