[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IStyleCollection

IStyleCollection Interface

表示指定或活动工作簿中所有IStyle 对象的集合。

Namespace: GrapeCity.Documents.Excel
Assembly: GcDocs.Excel.dll
Syntax
public interface IStyleCollection : IEnumerable<IStyle>, IEnumerable

Properties

Name Description
Count

返回集合中的对象数量。

this[int]

从集合中返回IStyle 对象。

this[string]

从集合中返回IStyle 对象。

Methods

Name Description
Add(string, IRange)

创建一个新的IStyle 并将其添加到当前IWorkbook 可用的样式列表中。

Add(string, IStyle)

创建一个新的IStyle 并将其添加到当前IWorkbook 可用的样式列表中。

Contains(string)

确定样式名称是否包含在IStyleCollection 中。