Shading.BackgroundPatternColor Property
Returns or sets the 24-bit color that's applied to the background of the Shading object. 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.BackgroundPatternColor
Dim sampleValue As WdColor
shading1.BackgroundPatternColor = sampleValue
Syntax
Property BackgroundPatternColor() As WdColor
WdColor BackgroundPatternColor {get; set;}
property WdColor^ BackgroundPatternColor{
WdColor^ get();
Void set(WdColor^);
}
public WdColor get_BackgroundPatternColor();
public void set_BackgroundPatternColor(WdColor);
function get BackgroundPatternColor() : WdColor;
function set BackgroundPatternColor(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