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.
Returns or sets the highlight color for the specified range.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property HighlightColorIndex As WdColorIndex
Get
Set
'Usage
Dim instance As Range
Dim value As WdColorIndex
value = instance.HighlightColorIndex
instance.HighlightColorIndex = value
WdColorIndex HighlightColorIndex { get; set; }
Property Value
Type: Microsoft.Office.Interop.Word.WdColorIndex
Remarks
Setting this property to wdNoHighlight removes the highlight color (if any) from the specified range.