'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.