Click or drag to resize

IWorksheets Interface

A collection of all the Worksheet objects in the specified or active workbook. Each Worksheet object represents a worksheet.

Namespace: Spire.Xls.Core
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public interface IWorksheets : IEnumerable

The IWorksheets type exposes the following members.

Properties
Name Description
Public property Count
Returns the number of objects in the collection. Read-only Long.
Public property Item Int32
Returns a single object from a collection.
Public property Item String
Returns a single object from a collection.
Public property Parent
Returns the parent object for the specified object.
Public property UseRangesCache
Indicates whether all created range objects should be cached.
Top
Methods
Name Description
Public method AddCopyAfter(IWorksheet)
Adds copy of sheet to collection after choosed sheet.
Public method AddCopyAfter(IWorksheet, IWorksheet)
Adds copy of sheet to collection before choosed sheet.
Public method AddCopyBefore(IWorksheet)
Adds copy of sheet to collection before choosed sheet.
Public method AddCopyBefore(IWorksheet, IWorksheet)
Adds copy of sheet to collection before choosed sheet.
Public method Create
Create a new worksheet.
Public method Create(String)
Create worksheet with specified name.
Public method GetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from IEnumerable .)
Public method Remove(Int32)
Removes specified worksheet from the collection.
Public method Remove(String)
Removes specified worksheet from the collection.
Public method Remove(IWorksheet)
Remove worksheet from collection.
Top
See Also