Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / ThemeCommand Class / ChangeTheme Method
The workbook to change theme.
The theme to change.


In This Topic
    ChangeTheme Method
    In This Topic
    Creates a command that change theme of the specified workbook.
    Syntax
    'Declaration
     
    
    Public Shared Function ChangeTheme( _
       ByVal workbook As IWorkbook, _
       ByVal theme As Theme _
    ) As ThemeCommand
    'Usage
     
    
    Dim workbook As IWorkbook
    Dim theme As Theme
    Dim value As ThemeCommand
     
    value = ThemeCommand.ChangeTheme(workbook, theme)
    public static ThemeCommand ChangeTheme( 
       IWorkbook workbook,
       Theme theme
    )

    Parameters

    workbook
    The workbook to change theme.
    theme
    The theme to change.

    Return Value

    The command that can be used to change theme of a workbook.
    See Also