Spread Windows Forms 12.0 Product Documentation
ApplyTheme(String) Method


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet Namespace > IWorkbook Interface > ApplyTheme Method : ApplyTheme(String) Method
A string value indicates the theme file to apply.
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

Reference

IWorkbook Interface
IWorkbook Members
Overload List