_Font.ColorIndex Property
Returns or sets the color for the specified Border or Font object.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property ColorIndex As WdColorIndex
Get
Set
'Usage
Dim instance As _Font
Dim value As WdColorIndex
value = instance.ColorIndex
instance.ColorIndex = value
WdColorIndex ColorIndex { get; set; }
Property Value
Type: Microsoft.Office.Interop.Word.WdColorIndex
Remarks
The wdByAuthor constant is not valid for border and font objects.