ForegroundPatternColorIndex Property
Applies To
Shading object.
Description
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. Read/write Long.
Can be one of the following WdColorIndex constants:
See Also
BackgroundPatternColorIndex property, ColorIndex property, Shading property, Texture property.
Example
This example applies shading with different foreground and background colors to the selection.
With Selection.Shading
.Texture = wdTexture30Percent
.ForegroundPatternColorIndex = wdBlue
.BackgroundPatternColorIndex = wdYellow
End With