Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IWorkbook Interface / ApplyTheme Method / ApplyTheme(String) Method
A string value indicates the theme file to apply.


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

    Parameters

    filename
    A string value indicates the theme file to apply.

    Return Value

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