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


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

    Parameters

    workbook
    The workbook to change theme.
    fontScheme

    Return Value

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