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)

Usage

Dim shading1 As Shading

Dim returnValue As WdColor
returnValue = shading1.ForegroundPatternColor

Dim sampleValue As WdColor
shading1.ForegroundPatternColor = sampleValue

Syntax

Property ForegroundPatternColor() As WdColor
WdColor ForegroundPatternColor {get; set;}
property WdColor^ ForegroundPatternColor{
    WdColor^ get();
    Void set(WdColor^);
}
public WdColor get_ForegroundPatternColor();
public void set_ForegroundPatternColor(WdColor);
function get ForegroundPatternColor() : WdColor;
function set ForegroundPatternColor(WdColor);

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

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

Target Platforms

See Also

Reference

Shading Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

Shading Members