WorksheetCollection
Vue de l’ensemble
‘WorksheetCollection’ est une classe dans Aspose.Cells for NET. Inherite de: IEnumerable<Warksheets>.
WorkheetCollection.Add ajoute un nouveau feuille de travail avec un nom par défaut au livre de travaux.
Description
‘WorksheetCollection’ est une classe dans la bibliothèque Aspose.Cells FOSS pour .NET qui expose 5 méthodes et 3 propriétés pour l’utilisation programmatique. Il étend `IEnumerable
La classe fournit également la propriété de « Count » (qui prend le nombre total de feuilles d’œuvre dans la collection).
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
Count | int | Read | Gets the total number of worksheets in the collection |
ActiveSheetIndex | int | Read/Write | |
ActiveSheetName | string | Read/Write | Gets or sets the name of the currently active worksheet |
méthodes
| Signature | Description |
|---|---|
Add() | Adds a new worksheet with a default name to the workbook |
Add(sheetName: string) | |
RemoveAt(sheetName: string) | Removes the worksheet with the specified name |
RemoveAt(index: int) | |
GetEnumerator() | Returns an iterator over the worksheets in order |
Voir aussi
- Aspose.Cells pour .NET — Enterprise API Reference