編輯

共用方式為


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.

public:
 property System::Object ^ PatternColorIndex { System::Object ^ get(); void set(System::Object ^ value); };
public object PatternColorIndex { get; set; }
Public Property PatternColorIndex As Object

Property Value

Remarks

Set this property to xlColorIndexAutomatic to specify the automatic pattern for cells or the automatic fill style for drawing objects. Set this property to xlColorIndexNone to specify that you don't want a pattern (this is the same as setting the Pattern property of the Interior object to xlPatternNone).

Applies to