Spread Windows Forms 12.0 Product Documentation
ApplyTheme(Theme) Method


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

Reference

IWorkbook Interface
IWorkbook Members
Overload List