Shading.BackgroundPatternColorIndex Property

Returns or sets the color that's applied to the background of the Shading object.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Property BackgroundPatternColorIndex As WdColorIndex
    Get
    Set
'Usage
Dim instance As Shading
Dim value As WdColorIndex

value = instance.BackgroundPatternColorIndex

instance.BackgroundPatternColorIndex = value
WdColorIndex BackgroundPatternColorIndex { get; set; }

Property Value

Type: Microsoft.Office.Interop.Word.WdColorIndex

Remarks

WdColorIndex can be one of these WdColorIndex constants.

wdAuto

wdBlack

wdBlue

wdBrightGreen

wdByAuthor

wdDarkBlue

wdDarkRed

wdDarkYellow

wdGray25

wdGray50

wdGreen

wdNoHighlight

wdPink

wdRed

wdTeal

wdTurquoise

wdViolet

wdWhite

wdYellow

See Also

Reference

Shading Interface

Shading Members

Microsoft.Office.Interop.Word Namespace