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


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

    Parameters

    workbook
    The workbook to change theme.
    colorScheme
    The theme color scheme to change.

    Return Value

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