ColorEntryCollection

ColorEntryCollection class

包含文档的颜色表。每个文档都包含一个颜色表 ,其中列出了可应用于对象 (例如文档中的形状、文本和图层)的 24 种标准颜色。

public class ColorEntryCollection : Collection

特性

姓名 描述
Count { get; } 获取集合中实际包含的元素个数。
Item { get; } 获取指定索引处的元素。

方法

姓名 描述
Add(ColorEntry) 在集合中添加 Color 对象。
Clear() 从集合中删除所有元素。
GetEnumerator() 支持对非泛型集合的简单迭代。
IsExist(int) 是集合中存在的项目。
Remove(ColorEntry) 从集合中移除 Color 对象。

也可以看看