[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ISheetTab

ISheetTab Interface

Represents a sheet tab.

A sheet tab provides information about a worksheet tab in a workbook, including its index, name, and SheetTabType. You can obtain an ISheetTab instance from the sheet tab collection returned by SheetTabs.

Namespace: GrapeCity.Documents.Excel
Assembly: DS.Documents.Excel.dll
Syntax
public interface ISheetTab
Public Interface ISheetTab
Examples
workbook.Open("import.sjs");
ISheetTabs sheetTabs = workbook.SheetTabs;
if (sheetTabs.Count > 0) {
    ISheetTab sheetTab = sheetTabs[0];
    string name = sheetTab.Name;
    int index = sheetTab.Index;
    SheetTabType sheetType = sheetTab.SheetType; 
}

Properties

Name Description
Index

Gets the index of this sheet tab within the workbook's sheet tab collection. The index starts at 0.

Name

Gets the name of the sheet tab.

SheetType

Gets the type of sheet tab.