Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IWorkbook Interface / ApplyTheme Method / ApplyTheme(Theme) Method
A Theme object indicates the theme to apply.


In This Topic
    ApplyTheme(Theme) Method
    In This Topic
    Applies the specified theme to the current workbook.
    Syntax
    'Declaration
     
    
    Overloads Function ApplyTheme( _
       Optional ByVal theme As Theme _
    ) As Boolean
    'Usage
     
    
    Dim instance As IWorkbook
    Dim theme As Theme
    Dim value As Boolean
     
    value = instance.ApplyTheme(theme)
    bool ApplyTheme( 
       Theme theme
    )

    Parameters

    theme
    A Theme object indicates the theme to apply.

    Return Value

    true if the theme is applied successfully; otherwise, false.
    See Also