Find.ClearHitHighlight Method

Removes the highlighting for all text located in a hit highlighting find operation, and returns a Boolean that represents whether the operation was successful.

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

Syntax

'Declaration
Function ClearHitHighlight As Boolean
'Usage
Dim instance As Find
Dim returnValue As Boolean

returnValue = instance.ClearHitHighlight()
bool ClearHitHighlight()

Return Value

Type: System.Boolean
Boolean

Remarks

Use the HitHighlight(Object%, Object%, Object%, Object%, Object%, Object%, Object%, Object%, Object%, Object%, Object%, Object%, Object%, Object%, Object%, Object%, Object%, Object%, Object%, Object%) method to highlight found text.

See Also

Reference

Find Interface

Find Members

Microsoft.Office.Interop.Word Namespace