WdColorIndex Enumeration 

Specifies the color to apply.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim wdColorIndex1 As WdColorIndex = WdColorIndex.wdAuto

Syntax

Public Enum WdColorIndex
public enum WdColorIndex
public enum class WdColorIndex
public enum WdColorIndex
public enum WdColorIndex

Members

Member name Description
wdAuto Automatic color. Default; usually black.
wdBlack Black color.
wdBlue Blue color.
wdBrightGreen Bright green color.
wdByAuthor Color defined by document author.
wdDarkBlue Dark blue color.
wdDarkRed Dark red color.
wdDarkYellow Dark yellow color.
wdGray25 Shade 25 of gray color.
wdGray50 Shade 50 of gray color.
wdGreen Green color.
wdNoHighlight Removes highlighting that has been applied.
wdPink Pink color.
wdRed Red color.
wdTeal Teal color.
wdTurquoise Turquoise color.
wdViolet Violet color.
wdWhite White color.
wdYellow Yellow color.

Platforms

Development Platforms

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

Target Platforms

See Also

Reference

Microsoft.Office.Interop.Word Namespace