Share via


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)

Usage

Dim find1 As Find

Dim returnValue As Integer
returnValue = find1.Highlight

Dim sampleValue As Integer
find1.Highlight = sampleValue

Syntax

Property Highlight() As Integer
int Highlight {get; set;}
property Int32 Highlight{
    Int32 get();
    Void set(Int32);
}
public int get_Highlight();
public void set_Highlight(int);
function get Highlight() : int;
function set Highlight(int);

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.

Thread Safety

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

Platforms

Development Platforms

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

Target Platforms

See Also

Reference

Find Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

Find Members