Interior.PatternColorIndex 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回或设置内部图案的颜色作为当前调色板的索引,或作为以下 XlColorIndex 常量之一: xlColorIndexAutomatic 或 xlColorIndexNone。
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) 相同。