Interior.PatternColorIndex Property
Returns or sets the color of the interior pattern as an index into the current color palette, or as one of the following XlColorIndex constants: xlColorIndexAutomatic or xlColorIndexNone. Read/write.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property PatternColorIndex As Object
Get
Set
'Usage
Dim instance As Interior
Dim value As Object
value = instance.PatternColorIndex
instance.PatternColorIndex = value
Object PatternColorIndex { get; set; }
Property Value
Type: System.Object
Object
Remarks
Set PatternColorIndex to xlColorIndexAutomatic to specify the automatic fill style for drawing objects. Set it to xlColorIndexNone to specify that you don't want a pattern (this is the same as setting Pattern to xlPatternNone).