Find.Highlight Property

Determines if highlight formatting is included in the find criteria.

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

Syntax

'Declaration
Property Highlight As Integer
    Get
    Set
'Usage
Dim instance As Find
Dim value As Integer

value = instance.Highlight

instance.Highlight = value
int Highlight { get; set; }

Property Value

Type: System.Int32

Remarks

The wdUndefined value can be used with the Find object to ignore the state of highlight formatting in the selection or range that is searched.

This property returns True if highlight formatting is included in the find criteria. Can return or be set to True, False, or wdUndefined.

See Also

Reference

Find Interface

Find Members

Microsoft.Office.Interop.Word Namespace