Share via


Shading.ForegroundPatternColor Property

Returns or sets the 24-bit color that's applied to the foreground of the Shading object. This color is applied to the dots and lines in the shading pattern. Can be any valid WdColor constant or a value returned by Visual Basic's RGB function.

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

Syntax

'Declaration
Property ForegroundPatternColor As WdColor
    Get
    Set
'Usage
Dim instance As Shading
Dim value As WdColor

value = instance.ForegroundPatternColor

instance.ForegroundPatternColor = value
WdColor ForegroundPatternColor { get; set; }

Property Value

Type: Microsoft.Office.Interop.Word.WdColor

See Also

Reference

Shading Interface

Shading Members

Microsoft.Office.Interop.Word Namespace