[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IStyleCollection

IStyleCollection Interface

Represents a collection of all the IStyle objects in the specified or active workbook.

Namespace: GrapeCity.Documents.Excel
Assembly: DS.Documents.Excel.dll
Syntax
public interface IStyleCollection : IEnumerable<IStyle>, IEnumerable
Public Interface IStyleCollection
    Inherits IEnumerable(Of IStyle), IEnumerable

Properties

Name Description
Count

Returns the number of objects in the collection.

this[int]

Returns the IStyle object from a collection.

this[string]

Returns the IStyle object from a collection.

Methods

Name Description
Add(string, IRange)

Creates a new IStyle and adds it to the list of styles that are available for the current IWorkbook.

Add(string, IStyle)

Creates a new IStyle and adds it to the list of styles that are available for the current IWorkbook.

Contains(string)

Determines whether the style name is contained in IStyleCollection.