[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IWorksheets.Count

Count Property

Count

Returns the number of IWorksheet objects in the collection (read-only).

Declaration
int Count { get; }
ReadOnly Property Count As Integer
Examples
IWorksheets worksheets = workbook.Worksheets;
IWorksheet sheet2 = worksheets.Add();
int count = worksheets.Count; // count is 2