Shading.ForegroundPatternColorIndex Property
Returns or sets the color that's applied to the foreground of the Shading object. This color is applied to the dots and lines in the shading pattern.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property ForegroundPatternColorIndex As WdColorIndex
Get
Set
'Usage
Dim instance As Shading
Dim value As WdColorIndex
value = instance.ForegroundPatternColorIndex
instance.ForegroundPatternColorIndex = value
WdColorIndex ForegroundPatternColorIndex { 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