Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / TableStyleCommand Class / Add Method


In This Topic
    Add Method (TableStyleCommand)
    In This Topic
    Add a table style to workbook.
    Syntax
    'Declaration
     
    
    Public Shared Function Add( _
       ByVal workbook As Workbook, _
       ByVal tableStyleElements As Dictionary(Of TableStyleElementType,Tuple(Of StyleFormat,Integer)), _
       ByVal name As String, _
       Optional ByVal isDefaultTableStyle As Boolean _
    ) As TableStyleCommand
    'Usage
     
    
    Dim workbook As Workbook
    Dim tableStyleElements As Dictionary(Of TableStyleElementType,Tuple(Of StyleFormat,Integer))
    Dim name As String
    Dim isDefaultTableStyle As Boolean
    Dim value As TableStyleCommand
     
    value = TableStyleCommand.Add(workbook, tableStyleElements, name, isDefaultTableStyle)

    Parameters

    workbook
    tableStyleElements
    name
    isDefaultTableStyle
    See Also