Interior.PatternColorIndex Property

Definition

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.

public:
 property System::Object ^ PatternColorIndex { System::Object ^ get(); void set(System::Object ^ value); };
public object PatternColorIndex { get; set; }
member this.PatternColorIndex : obj with get, set
Public Property PatternColorIndex As Object

Property Value

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).

Applies to