Interior.PatternColorIndex 属性

定义

返回或设置内部图案的颜色作为当前调色板的索引,或作为以下 XlColorIndex 常量之一: xlColorIndexAutomaticxlColorIndexNone

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

属性值

注解

将本属性设置为 xlColorIndexAutomatic,指定对单元格使用自动图案或对图形对象使用自动填充样式。 将此属性设置为 xlColorIndexNone 以指定不需要模式 (这与将对象的属性Interior设置为 PatternxlPatternNone) 相同。

适用于