Spread WPF 17
GrapeCity.Excel Namespace / IExcelWriter Interface / GetTabs Method
A flag indicate whether show workbook tabs or not
Zero based index of the selected workbook tab
Zero based index of the first displayed workbook tab
Number of workbook tabs that are selected
Ratio of the width of the workbook tabs to the width of the horizontal scroll bar.


In This Topic
    GetTabs Method
    In This Topic
    Get the tab settings of the current workbook
    Syntax
    'Declaration
     
    Function GetTabs( _
       ByRef showTabs As Boolean, _
       ByRef selectedTabIndex As Integer, _
       ByRef firstDisplayedTabIndex As Integer, _
       ByRef selectedTabCount As Integer, _
       ByRef tabRatio As Integer _
    ) As Boolean
    'Usage
     
    Dim instance As IExcelWriter
    Dim showTabs As Boolean
    Dim selectedTabIndex As Integer
    Dim firstDisplayedTabIndex As Integer
    Dim selectedTabCount As Integer
    Dim tabRatio As Integer
    Dim value As Boolean
     
    value = instance.GetTabs(showTabs, selectedTabIndex, firstDisplayedTabIndex, selectedTabCount, tabRatio)
    bool GetTabs( 
       ref bool showTabs,
       ref int selectedTabIndex,
       ref int firstDisplayedTabIndex,
       ref int selectedTabCount,
       ref int tabRatio
    )

    Parameters

    showTabs
    A flag indicate whether show workbook tabs or not
    selectedTabIndex
    Zero based index of the selected workbook tab
    firstDisplayedTabIndex
    Zero based index of the first displayed workbook tab
    selectedTabCount
    Number of workbook tabs that are selected
    tabRatio
    Ratio of the width of the workbook tabs to the width of the horizontal scroll bar.
    See Also