Shading.BackgroundPatternColorIndex Property
Returns or sets the color that's applied to the background of the Shading object.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)
Usage
Dim shading1 As Shading
Dim returnValue As WdColorIndex
returnValue = shading1.BackgroundPatternColorIndex
Dim sampleValue As WdColorIndex
shading1.BackgroundPatternColorIndex = sampleValue
Syntax
Property BackgroundPatternColorIndex() As WdColorIndex
WdColorIndex BackgroundPatternColorIndex {get; set;}
property WdColorIndex^ BackgroundPatternColorIndex{
WdColorIndex^ get();
Void set(WdColorIndex^);
}
public WdColorIndex get_BackgroundPatternColorIndex();
public void set_BackgroundPatternColorIndex(WdColorIndex);
function get BackgroundPatternColorIndex() : WdColorIndex;
function set BackgroundPatternColorIndex(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
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