Options.DefaultHighlightColorIndex Property
Returns or sets the color used to highlight text formatted with the Highlight button (Formatting toolbar).
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property DefaultHighlightColorIndex As WdColorIndex
Get
Set
'Usage
Dim instance As Options
Dim value As WdColorIndex
value = instance.DefaultHighlightColorIndex
instance.DefaultHighlightColorIndex = value
WdColorIndex DefaultHighlightColorIndex { get; set; }
Property Value
Type: Microsoft.Office.Interop.Word.WdColorIndex