Spread Windows Forms 12.0 Product Documentation
ApplyTheme(Stream) Method


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet Namespace > IWorkbook Interface > ApplyTheme Method : ApplyTheme(Stream) Method
A System.IO.Stream object indicates the theme data to apply.
Applies the specified theme to the current workbook.
Syntax
'Declaration
 
Overloads Function ApplyTheme( _
   ByVal stream As Stream _
) As Boolean
'Usage
 
Dim instance As IWorkbook
Dim stream As Stream
Dim value As Boolean
 
value = instance.ApplyTheme(stream)
bool ApplyTheme( 
   Stream stream
)

Parameters

stream
A System.IO.Stream object indicates the theme data to apply.

Return Value

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

Reference

IWorkbook Interface
IWorkbook Members
Overload List